cc -pthread -Wall -Wextra -Werror=implicit-function-declaration unistd/posix_close.c -o unistd/posix_close -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 unistd/posix_close.c: In function 'main': unistd/posix_close.c:9:29: error: 'POSIX_CLOSE_RESTART' undeclared (first use in this function) 9 | if ( posix_close(0, POSIX_CLOSE_RESTART) < 0 ) | ^~~~~~~~~~~~~~~~~~~ unistd/posix_close.c:9:29: note: each undeclared identifier is reported only once for each function it appears in