accept.c 199 B

12345678
  1. #include <sys/socket.h>
  2. #include "syscall.h"
  3. #include "libc.h"
  4. int accept(int fd, struct sockaddr *restrict addr, socklen_t *restrict len)
  5. {
  6. return socketcall_cp(accept, fd, addr, len, 0, 0, 0);
  7. }