cc -pthread -Wall -Wextra -Werror=implicit-function-declaration unistd/getresgid.c -o unistd/getresgid -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -liconv unistd/getresgid.c:11:7: error: call to undeclared function 'getresgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | if ( getresgid(&rgid, &egid, &sgid) < 0 ) | ^ 1 error generated.