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