cc -pthread -Wall -Wextra -Werror=implicit-function-declaration pthread/pthread_attr_getscope.c -o pthread/pthread_attr_getscope -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv pthread/pthread_attr_getscope.c: In function ‘main’: pthread/pthread_attr_getscope.c:14:23: error: implicit declaration of function ‘pthread_attr_getscope’; did you mean ‘pthread_attr_destroy’? [-Wimplicit-function-declaration] 14 | if ( (errno = pthread_attr_getscope(&attr, &scope)) ) | ^~~~~~~~~~~~~~~~~~~~~ | pthread_attr_destroy pthread/pthread_attr_getscope.c:16:23: error: ‘PTHREAD_SCOPE_SYSTEM’ undeclared (first use in this function) 16 | if ( scope != PTHREAD_SCOPE_SYSTEM ) | ^~~~~~~~~~~~~~~~~~~~ pthread/pthread_attr_getscope.c:16:23: note: each undeclared identifier is reported only once for each function it appears in