cc -pthread -Wall -Wextra -Werror=implicit-function-declaration pthread/pthread_rwlockattr_setpshared.c -o pthread/pthread_rwlockattr_setpshared -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv pthread/pthread_rwlockattr_setpshared.c: In function ‘main’: pthread/pthread_rwlockattr_setpshared.c:49:23: error: implicit declaration of function ‘pthread_rwlockattr_setpshared’; did you mean ‘pthread_rwlockattr_destroy’? [-Wimplicit-function-declaration] 49 | if ( (errno = pthread_rwlockattr_setpshared(&rwlockattr, shared)) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | pthread_rwlockattr_destroy