cc -pthread -Wall -Wextra -Werror=implicit-function-declaration sys_select/pselect.c -o sys_select/pselect -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv [cc@relibc::platform::sys:590 INFO] TODO: getrlimit(3, 0x7ffffffffbf0): not implemented [cc1@relibc::platform::sys:590 INFO] TODO: getrlimit(3, 0x7ffffffffb00): not implemented [cc1@relibc::platform::sys:590 INFO] TODO: getrlimit(9, 0x7ffffffffad0): not implemented [cc1@relibc::platform::sys:590 INFO] TODO: getrlimit(9, 0x7ffffffffb00): not implemented [cc1@relibc::platform::sys:590 INFO] TODO: getrlimit(5, 0x7ffffffffb00): not implemented [cc1@relibc::platform::sys:590 INFO] TODO: getrlimit(9, 0x7ffffffffad0): not implemented sys_select/pselect.c: In function 'main': sys_select/pselect.c:52:21: error: implicit declaration of function 'pselect'; did you mean 'select'? [-Werror=implicit-function-declaration] 52 | if ( (ret = pselect(max + 1, &read_set, NULL, &error_set, &timeout, | ^~~~~~~ | select cc1: some warnings being treated as errors