trylsock.c (230B)
1 /* ISC license. */ 2 3 #undef _POSIX_C_SOURCE 4 #undef _XOPEN_SOURCE 5 6 #ifndef _XPG4_2 7 #define _XPG4_2 8 #endif 9 10 #ifndef _GNU_SOURCE 11 #define _GNU_SOURCE 12 #endif 13 14 #include <sys/socket.h> 15 16 int main (void) 17 { 18 shutdown(0, 0) ; 19 return 0 ; 20 }