gcc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations pthread/pthread_rwlock_clockrdlock.c -o pthread/pthread_rwlock_clockrdlock -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lxnet -lsocket -latomic pthread/pthread_rwlock_clockrdlock.c:5:86: error: ‘pthread_rwlock_clockrdlock’ undeclared here (not in a function); did you mean ‘pthread_rwlock_tryrdlock’? 5 | int (*foo)(pthread_rwlock_t *restrict, clockid_t, const struct timespec *restrict) = pthread_rwlock_clockrdlock; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | pthread_rwlock_tryrdlock