OLD | NEW |
1 #include <sys/socket.h> | 1 #include <sys/socket.h> |
2 #include "syscall.h" | 2 #include "syscall.h" |
3 #include "libc.h" | 3 #include "libc.h" |
4 | 4 |
5 ssize_t recvfrom(int fd, void *restrict buf, size_t len, int flags, struct socka
ddr *restrict addr, socklen_t *restrict alen) | 5 ssize_t recvfrom(int fd, |
6 { | 6 void* restrict buf, |
7 » return socketcall_cp(recvfrom, fd, buf, len, flags, addr, alen); | 7 size_t len, |
| 8 int flags, |
| 9 struct sockaddr* restrict addr, |
| 10 socklen_t* restrict alen) { |
| 11 return socketcall_cp(recvfrom, fd, buf, len, flags, addr, alen); |
8 } | 12 } |
OLD | NEW |