source:
trunk/minix/lib/ip/send.c@
10
Last change on this file since 10 was 9, checked in by , 13 years ago | |
---|---|
File size: 233 bytes |
Line | |
---|---|
1 | #include <stdlib.h> |
2 | #include <sys/socket.h> |
3 | |
4 | ssize_t send(int socket, const void *buffer, size_t length, int flags) |
5 | { |
6 | struct sockaddr sa; |
7 | |
8 | sa.sa_family= AF_UNSPEC; |
9 | return sendto(socket, buffer, length, flags, &sa, sizeof(sa)); |
10 | } |
11 |
Note:
See TracBrowser
for help on using the repository browser.