1 2 3 4 5 6 7 8 9 10 11
//#define _XOPEN_SOURCE 500 #include "Python.h" #include <sys/sem.h> #include <stdlib.h> int main(void) { semtimedop(0, NULL, 0, NULL); return 0; }