pthread_mutexattr_getpshared(3) Library Functions Manual pthread_mutexattr_getpshared, pthread_mutexattr_setpshared - / POSIX threads library (libpthread, -lpthread) #include int pthread_mutexattr_getpshared( const pthread_mutexattr_t *restrict attr, int *restrict pshared); int pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, int pshared); . , , . : PTHREAD_PROCESS_PRIVATE , , , . . PTHREAD_PROCESS_SHARED , , , , , . pthread_mutexattr_getpshared() , attr, , pshared. pthread_mutexattr_setpshared() , attr, , pshared. attr , . 0. . pthread_mutexattr_setpshared() : EINVAL pshared. ENOTSUP pshared PTHREAD_PROCESS_SHARED, . POSIX.1-2008. POSIX.1-2001. pthread_mutexattr_init(3), pthreads(7) () Alexey, Azamat Hackimov , kogamatranslator49 , Darima Kogan , Max Is , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux man-pages 6.12 23 2024 . pthread_mutexattr_getpshared(3)