source: trunk/minix/lib/ip/send.c@ 12

Last change on this file since 12 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 233 bytes
RevLine 
[9]1#include <stdlib.h>
2#include <sys/socket.h>
3
4ssize_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.