(elf_get_dynamic_info): Also relocate DT_HASH entry if necessary.
[glibc.git] / linuxthreads / man / pthread_mutexattr_setkind_np.man
blobe10f47d0e59a1e1521f54e21af8402fdd219b356
1 .TH PTHREAD_MUTEXATTR_SETKIND_NP 3 LinuxThreads
3 .XREF pthread_mutexattr_getkind_np
5 .SH NAME
6 pthread_mutexattr_setkind_np, pthread_mutexattr_getkind_np \- deprecated mutex creation attributes
8 .SH SYNOPSIS
9 #include <pthread.h>
11 int pthread_mutexattr_setkind_np(pthread_mutexattr_t *attr, int kind);
13 int pthread_mutexattr_getkind_np(const pthread_mutexattr_t *attr, int *kind);
15 .SH DESCRIPTION
17 These functions are deprecated, use !pthread_mutexattr_settype!(3)
18 and !pthread_mutexattr_gettype!(3) instead.
20 .SH "RETURN VALUE"
21 !pthread_mutexattr_getkind_np! always returns 0.
23 !pthread_mutexattr_setkind_np! returns 0 on success and a non-zero
24 error code on error.
26 .SH ERRORS
28 On error, !pthread_mutexattr_setkind_np! returns the following error code:
29 .TP
30 !EINVAL!
31 |kind| is neither !PTHREAD_MUTEX_FAST_NP! nor !PTHREAD_MUTEX_RECURSIVE_NP!
32 nor !PTHREAD_MUTEX_ERRORCHECK_NP!
34 .SH AUTHOR
35 Xavier Leroy <Xavier.Leroy@inria.fr>
37 .SH "SEE ALSO"
38 !pthread_mutexattr_settype!(3),
39 !pthread_mutexattr_gettype!(3).