cc -pipe -O -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations pthread/pthread_mutexattr_getrobust.c -o pthread/pthread_mutexattr_getrobust -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lrt -lcrypt pthread/pthread_mutexattr_getrobust.c:5:66: error: 'pthread_mutexattr_getrobust' undeclared here (not in a function); did you mean 'pthread_mutexattr_getprotocol'? int (*foo)(const pthread_mutexattr_t *restrict, int *restrict) = pthread_mutexattr_getrobust; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pthread_mutexattr_getprotocol