fix failure to flush stderr when fflush(0) is called
[musl.git] / src / network / getsockopt.c
blob28079d8c0cb60a4e4d810a49ca7b0992bc6d4d9f
1 #include <sys/socket.h>
2 #include "syscall.h"
4 int getsockopt(int fd, int level, int optname, void *restrict optval, socklen_t *restrict optlen)
6 return socketcall(getsockopt, fd, level, optname, optval, optlen, 0);