Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #include <sys/socket.h> | 1 #include <sys/socket.h> |
| 2 #include "syscall.h" | 2 #include "syscall.h" |
| 3 #include "libc.h" | 3 #include "libc.h" |
| 4 | 4 |
| 5 int accept(int fd, struct sockaddr* restrict addr, socklen_t* restrict len) { | 5 int accept(int fd, struct sockaddr* restrict addr, socklen_t* restrict len) { |
| 6 return socketcall_cp(accept, fd, addr, len, 0, 0, 0); | 6 return syscall_cp(SYS_accept, fd, addr, len, 0, 0, 0); |
| 7 } | 7 } |
| OLD | NEW |