cc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations time/clock_nanosleep.c -o time/clock_nanosleep -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt relibc getrlimit(3, 0x7ffffffffc80): not implemented relibc getrlimit(3, 0x7ffffffffbb0): not implemented relibc getrlimit(9, 0x7ffffffffb70): not implemented relibc getrlimit(9, 0x7ffffffffba0): not implemented relibc getrlimit(5, 0x7ffffffffba0): not implemented relibc getrlimit(9, 0x7ffffffffb70): not implemented time/clock_nanosleep.c:5:74: error: 'clock_nanosleep' undeclared here (not in a function) 5 | int (*foo)(clockid_t, int, const struct timespec *, struct timespec *) = clock_nanosleep; | ^~~~~~~~~~~~~~~