cc -pthread -Wall -Wextra -Werror=implicit-function-declaration pthread/pthread_mutexattr_setpshared.c -o pthread/pthread_mutexattr_setpshared -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv pthread/pthread_mutexattr_setpshared.c: In function ‘main’: pthread/pthread_mutexattr_setpshared.c:23:22: error: ‘PTHREAD_PROCESS_SHARED’ undeclared (first use in this function) 23 | int shared = PTHREAD_PROCESS_SHARED; | ^~~~~~~~~~~~~~~~~~~~~~ pthread/pthread_mutexattr_setpshared.c:23:22: note: each undeclared identifier is reported only once for each function it appears in pthread/pthread_mutexattr_setpshared.c:24:23: error: implicit declaration of function ‘pthread_mutexattr_setpshared’; did you mean ‘pthread_mutexattr_settype’? [-Wimplicit-function-declaration] 24 | if ( (errno = pthread_mutexattr_setpshared(&attr, shared)) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | pthread_mutexattr_settype