summaryrefslogblamecommitdiff
path: root/src/network/getsockopt.c
blob: a9e0a72dbe5565628b581ca5916513b701b515f8 (plain) (tree)
1
2
3
4
5
6
7

                       


                                                                               
                                                                             
 
#include <sys/socket.h>
#include "syscall.h"

int getsockopt(int fd, int level, int optname, void *optval, socklen_t *optlen)
{
	return socketcall(getsockopt, fd, level, optname, optval, optlen, 0);
}