blob: d96c397df1131c621bbf3b9f19c879c9fbe41adb [file] [log] [blame]
#include <sys/socket.h>
#include "syscall.h"
#include "libc.h"
int accept(int fd, struct sockaddr* restrict addr, socklen_t* restrict len) {
return syscall_cp(SYS_accept, fd, addr, len, 0, 0, 0);
}