summaryrefslogtreecommitdiffstats
path: root/man3/pthread_mutexattr_setkind_np.3
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-24 04:52:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-24 04:52:22 +0000
commit3d08cd331c1adcf0d917392f7e527b3f00511748 (patch)
tree312f0d1e1632f48862f044b8bb87e602dcffb5f9 /man3/pthread_mutexattr_setkind_np.3
parentAdding debian version 6.7-2. (diff)
downloadmanpages-3d08cd331c1adcf0d917392f7e527b3f00511748.tar.xz
manpages-3d08cd331c1adcf0d917392f7e527b3f00511748.zip
Merging upstream version 6.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man3/pthread_mutexattr_setkind_np.3')
-rw-r--r--man3/pthread_mutexattr_setkind_np.352
1 files changed, 0 insertions, 52 deletions
diff --git a/man3/pthread_mutexattr_setkind_np.3 b/man3/pthread_mutexattr_setkind_np.3
deleted file mode 100644
index ca6a64e..0000000
--- a/man3/pthread_mutexattr_setkind_np.3
+++ /dev/null
@@ -1,52 +0,0 @@
-.\" Copyright, Xavier Leroy <Xavier.Leroy@inria.fr>
-.\" Copyright 2023, Alejandro Colomar <alx@kernel.org>
-.\"
-.\" SPDX-License-Identifier: Linux-man-pages-copyleft
-.\"
-.TH pthread_mutexattr_setkind_np 3 2023-10-31 "Linux man-pages 6.7"
-.
-.
-.SH NAME
-pthread_mutexattr_setkind_np,
-pthread_mutexattr_getkind_np
-\-
-deprecated mutex creation attributes
-.
-.
-.SH SYNOPSIS
-.B #include <pthread.h>
-.P
-.BI "int pthread_mutexattr_setkind_np(pthread_mutexattr_t *" attr ", int " kind ");"
-.BI "int pthread_mutexattr_getkind_np(const pthread_mutexattr_t *" attr ", int *" kind ");"
-.
-.
-.SH DESCRIPTION
-These functions are deprecated,
-use \fBpthread_mutexattr_settype\fP(3)
-and \fBpthread_mutexattr_gettype\fP(3)
-instead.
-.
-.
-.SH "RETURN VALUE"
-\fBpthread_mutexattr_getkind_np\fP always returns 0.
-.P
-\fBpthread_mutexattr_setkind_np\fP
-returns 0 on success and a non-zero error code on error.
-.
-.
-.SH ERRORS
-On error,
-\fBpthread_mutexattr_setkind_np\fP returns the following error code:
-.TP
-\fBEINVAL\fP
-\fIkind\fP is neither
-\fBPTHREAD_MUTEX_FAST_NP\fP
-nor
-\fBPTHREAD_MUTEX_RECURSIVE_NP\fP
-nor
-\fBPTHREAD_MUTEX_ERRORCHECK_NP\fP.
-.
-.
-.SH "SEE ALSO"
-\fBpthread_mutexattr_settype\fP(3),
-\fBpthread_mutexattr_gettype\fP(3).