cc -pthread -Wall -Wextra -Werror=implicit-function-declaration pthread/pthread_mutexattr_getrobust.c -o pthread/pthread_mutexattr_getrobust -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -liconv pthread/pthread_mutexattr_getrobust.c:13:16: error: call to undeclared function 'pthread_mutexattr_getrobust'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | if ( (errno = pthread_mutexattr_getrobust(&attr, &robustness)) ) | ^ pthread/pthread_mutexattr_getrobust.c:15:21: error: use of undeclared identifier 'PTHREAD_MUTEX_STALLED' 15 | if ( robustness != PTHREAD_MUTEX_STALLED ) | ^ 2 errors generated.