blob: 7c8c1a8a3c142ff579c68fe9e9de9aa987dba378 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#include <sys/socket.h>
#include "syscall.h"
#include "socketcall.h"
int listen(int fd, int backlog)
{
unsigned long args[] = { fd, backlog };
return syscall2(__NR_socketcall, SYS_LISTEN, (long)args);
}
|