#include #include #include static inline _syscall2(long,socketcall,int,call,unsigned long *,args); /* send, sendto added by bir7@leland.stanford.edu */ int sendto (int __sockfd, __const void *__buff, int __len, unsigned int __flags, __const struct sockaddr *__to, int __tolen) { unsigned long args[6]; args[0] = __sockfd; args[1] = (unsigned long) __buff; args[2] = __len; args[3] = __flags; args[4] = (unsigned long) __to; args[5] = __tolen; return (socketcall (SYS_SENDTO, args)); }