gcc -pthread -Wall -Wextra -Werror=implicit-function-declaration pthread/pthread_rwlock_clockwrlock.c -o pthread/pthread_rwlock_clockwrlock -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lxnet -lsocket -latomic pthread/pthread_rwlock_clockwrlock.c: In function ‘main’: pthread/pthread_rwlock_clockwrlock.c:16:23: error: implicit declaration of function ‘pthread_rwlock_clockwrlock’; did you mean ‘pthread_rwlock_trywrlock’? [-Wimplicit-function-declaration] 16 | if ( (errno = pthread_rwlock_clockwrlock(&rwlock, CLOCK_MONOTONIC, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | pthread_rwlock_trywrlock