2011-02-12 00:22:29 -05:00
|
|
|
#include <sys/socket.h>
|
|
|
|
#include "syscall.h"
|
|
|
|
|
|
|
|
int getsockopt(int fd, int level, int optname, void *optval, socklen_t *optlen)
|
|
|
|
{
|
2011-02-15 04:40:40 -05:00
|
|
|
return socketcall(getsockopt, fd, level, optname, optval, optlen, 0);
|
2011-02-12 00:22:29 -05:00
|
|
|
}
|