Интерактивная система просмотра системных руководств (man-ов)
pthread_rwlockattr_init (3)
pthread_rwlockattr_init (3) ( Solaris man: Библиотечные вызовы )>> pthread_rwlockattr_init (3) ( FreeBSD man: Библиотечные вызовы ) pthread_rwlockattr_init (3) ( POSIX man: Библиотечные вызовы )
BSD mandoc
NAME
pthread_rwlockattr_init
- initialize a read/write lock
LIBRARY
Lb libpthread
SYNOPSIS
#include <pthread.h>
int
pthread_rwlockattr_init (pthread_rwlockattr_t *attr);
DESCRIPTION
The
pthread_rwlockattr_init ();
function is used to initialize a read/write lock attributes object.
RETURN VALUES
If successful, the
pthread_rwlockattr_init ();
function will return zero.
Otherwise an error number will be returned
to indicate the error.
ERRORS
The
pthread_rwlockattr_init ();
function will fail if:
- Bq Er ENOMEM
-
Insufficient memory exists to initialize the attribute object.
SEE ALSO
pthread_rwlockattr_destroy3,
pthread_rwlockattr_getpshared3,
pthread_rwlockattr_setpshared3,
pthread_rwlock_init3
STANDARDS
The
pthread_rwlockattr_init ();
function is expected to conform to
St -susv2 .
HISTORY
The
pthread_rwlockattr_init ();
function first appeared in
Fx 3.0 .
Index
- NAME
-
- LIBRARY
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUES
-
- ERRORS
-
- SEE ALSO
-
- STANDARDS
-
- HISTORY
-