/* sendto.c (emx+gcc) -- Copyright (c) 1994-1996 by Eberhard Mattes */

#include <emx/syscalls.h>

int sendto (int handle, const void *buf, int len, unsigned flags,
            const struct sockaddr *to, int tolen)
{
  struct _sendto args;

  args.handle = handle;
  args.buf    = buf;
  args.len    = len;
  args.flags  = flags;
  args.to     = to;
  args.tolen  = tolen;
  return __sendto (&args);
}
