cc -pthread -Wall -Wextra -Werror=implicit-function-declaration unistd/fchownat.c -o unistd/fchownat -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv relibc getrlimit(3, 0x7ffffffffc80): not implemented relibc getrlimit(3, 0x7ffffffffba0): not implemented relibc getrlimit(9, 0x7ffffffffb60): not implemented relibc getrlimit(9, 0x7ffffffffb90): not implemented relibc getrlimit(5, 0x7ffffffffb90): not implemented relibc getrlimit(9, 0x7ffffffffb60): not implemented unistd/fchownat.c: In function 'main': unistd/fchownat.c:13:14: error: implicit declaration of function 'fchownat'; did you mean 'fchown'? [-Werror=implicit-function-declaration] 13 | if ( fchownat(dir, "basic/unistd/fchownat.c", (uid_t) -1, (gid_t) -1, | ^~~~~~~~ | fchown cc1: some warnings being treated as errors