259
259
<i386> int vm86(struct vm86_struct *);
262
* Most architectures have the socket interfaces using regular
265
<?!i386> long socketcall::__socketcall(int, const unsigned long *);
266
#include "SOCKETCALLS.def"
264
int socket(int, int, int);
265
int bind(int, const struct sockaddr *, int);
266
int connect(int, const struct sockaddr *, socklen_t);
267
int listen(int, int);
268
<?> int accept(int, struct sockaddr *, socklen_t *);
269
int accept4(int, struct sockaddr *, socklen_t *, int);
270
int getsockname(int, struct sockaddr *, socklen_t *);
271
int getpeername(int, struct sockaddr *, socklen_t *);
272
int socketpair(int, int, int, int *);
273
int sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t);
274
int recvfrom(int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *);
275
int shutdown(int, int);
276
int setsockopt(int, int, int, const void *, socklen_t);
277
int getsockopt(int, int, int, void *, socklen_t *);
278
int sendmsg(int, const struct msghdr *, unsigned int);
279
int recvmsg(int, struct msghdr *, unsigned int);