*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: pthread_mutexattr_getkind_np | Section: 3 | Source: FreeBSD | File: pthread_mutexattr_getkind_np.3.gz
PTHREAD_MUTEXATTR_GETKIND_NP(3) FreeBSD Library Functions Manual NAME pthread_mutexattr_getkind_np, pthread_mutexattr_setkind_np - mutex attribute operations (legacy) LIBRARY POSIX Threads Library (libpthread, -lpthread) SYNOPSIS #include <pthread_np.h> int pthread_mutexattr_getkind_np(pthread_mutexattr_t attr); int pthread_mutexattr_setkind_np(pthread_mutexattr_t *attr, int kind); DESCRIPTION These functions are deprecated and non-portable implementation of the mutex type manipulation. It is recommended to use the pthread_mutexattr_gettype(3) and pthread_mutexattr_settype(3) functions instead. RETURN VALUES The pthread_mutexattr_getkind_np() function returns a positive value representing the "kind" of the mutex attribute attr if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error. The pthread_mutexattr_setkind_np() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error. ERRORS The pthread_mutexattr_getkind_np() and pthread_mutexattr_setkind_np() functions will fail if: [EINVAL] The value specified by attr is invalid. SEE ALSO pthread_mutex_destroy(3), pthread_mutex_init(3), pthread_mutexattr_gettype(3), pthread_mutexattr_settype(3), pthread_np(3) FreeBSD 14.1-RELEASE-p8 October 12, 2021 FreeBSD 14.1-RELEASE-p8

Navigation Options