cc -pthread -Wall -Wextra -Werror=implicit-function-declaration pthread/pthread_attr_getstack.c -o pthread/pthread_attr_getstack -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv pthread/pthread_attr_getstack.c: In function ‘main’: pthread/pthread_attr_getstack.c:19:23: error: implicit declaration of function ‘pthread_attr_getstack’; did you mean ‘pthread_attr_getstacksize’? [-Wimplicit-function-declaration] 19 | if ( (errno = pthread_attr_getstack(&attr, &got_stack, &got_size)) ) | ^~~~~~~~~~~~~~~~~~~~~ | pthread_attr_getstacksize pthread/pthread_attr_getstack.c:35:23: error: implicit declaration of function ‘pthread_attr_setstack’; did you mean ‘pthread_attr_setstacksize’? [-Wimplicit-function-declaration] 35 | if ( (errno = pthread_attr_setstack(&attr, stack, size)) ) | ^~~~~~~~~~~~~~~~~~~~~ | pthread_attr_setstacksize