cc -pthread   -Wall -Wextra -Werror=implicit-function-declaration fcntl/openat.c -o fcntl/openat -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt  -lintl -liconv
[cc@relibc::platform::sys:699 INFO] TODO: getrlimit(3, 0x7ffffffffb80): not implemented
[cc1@relibc::platform::sys:699 INFO] TODO: getrlimit(3, 0x7ffffffffa90): not implemented
[cc1@relibc::platform::sys:699 INFO] TODO: getrlimit(9, 0x7ffffffffa60): not implemented
[cc1@relibc::platform::sys:699 INFO] TODO: getrlimit(9, 0x7ffffffffa90): not implemented
[cc1@relibc::platform::sys:699 INFO] TODO: getrlimit(5, 0x7ffffffffa90): not implemented
[cc1@relibc::platform::sys:699 INFO] TODO: getrlimit(9, 0x7ffffffffa60): not implemented
fcntl/openat.c: In function 'main':
fcntl/openat.c:9:21: error: implicit declaration of function 'openat'; did you mean 'open'? [-Werror=implicit-function-declaration]
    9 |         int dirfd = openat(AT_FDCWD, "fcntl", O_RDONLY | O_DIRECTORY);
      |                     ^~~~~~
      |                     open
cc1: some warnings being treated as errors
