blob: b50303b86ac52032e13f38b901ba07a62a08bab0 (
plain) (
tree)
|
|
#include <sys/socket.h>
#include "syscall.h"
#include "socketcall.h"
int setsockopt(int fd, int level, int optname, const void *optval, socklen_t optlen)
{
unsigned long args[] = { fd, level, optname, (unsigned long)optval, optlen };
return syscall2(__NR_socketcall, SYS_SETSOCKOPT, (long)args);
}
|