cc -pthread -Wall -Wextra -Werror=implicit-function-declaration sys_socket/accept4.c -o sys_socket/accept4 -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 sys_socket/accept4.c: In function 'main': sys_socket/accept4.c:45:25: error: implicit declaration of function 'accept4'; did you mean 'accept'? [-Werror=implicit-function-declaration] 45 | int server_fd = accept4(listen_fd, (struct sockaddr*) &peer, &peer_len, | ^~~~~~~ | accept cc1: some warnings being treated as errors