cc -O2 -pthread -Wall -Wextra -Werror=implicit-function-declaration pthread/pthread_mutex_clocklock.c -o pthread/pthread_mutex_clocklock -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -lcrypt pthread/pthread_mutex_clocklock.c: In function 'main': pthread/pthread_mutex_clocklock.c:20:16: error: implicit declaration of function 'pthread_mutex_clocklock'; did you mean 'pthread_mutex_timedlock'? [-Werror=implicit-function-declaration] 20 | if ( (errno = pthread_mutex_clocklock(&mtx, CLOCK_MONOTONIC, | ^~~~~~~~~~~~~~~~~~~~~~~ | pthread_mutex_timedlock cc1: some warnings being treated as errors