/opt/IBM/openxlC/17.1.1/bin/ibm-clang -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 -lrt -latomic unistd/getresgid.c:11:7: error: call to undeclared function 'getresgid'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if ( getresgid(&rgid, &egid, &sgid) < 0 ) ^ 1 error generated.