source: vendor/emx/current/src/libsocket/sendto.c

Last change on this file was 18, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 402 bytes
Line 
1/* sendto.c (emx+gcc) -- Copyright (c) 1994-1996 by Eberhard Mattes */
2
3#include <emx/syscalls.h>
4
5int sendto (int handle, const void *buf, int len, unsigned flags,
6 const struct sockaddr *to, int tolen)
7{
8 struct _sendto args;
9
10 args.handle = handle;
11 args.buf = buf;
12 args.len = len;
13 args.flags = flags;
14 args.to = to;
15 args.tolen = tolen;
16 return __sendto (&args);
17}
Note: See TracBrowser for help on using the repository browser.