summaryrefslogtreecommitdiffstats
path: root/man/man3/pthread_key_create.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man/man3/pthread_key_create.3 (renamed from man3/pthread_key_create.3)13
1 files changed, 8 insertions, 5 deletions
diff --git a/man3/pthread_key_create.3 b/man/man3/pthread_key_create.3
index 1e7d680..f319426 100644
--- a/man3/pthread_key_create.3
+++ b/man/man3/pthread_key_create.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH pthread_key_create 3 2024-02-26 "Linux man-pages 6.7"
+.TH pthread_key_create 3 2024-05-19 "Linux man-pages (unreleased)"
.
.
.SH NAME
@@ -16,12 +16,15 @@ management of thread-specific data
.
.
.SH SYNOPSIS
+.nf
.B #include <pthread.h>
.P
-.BI "int pthread_key_create(pthread_key_t *" key ", void (*" destr_function ") (void *));"
-.BI "int pthread_key_delete(pthread_key_t " key ");"
-.BI "int pthread_setspecific(pthread_key_t " key ", const void *" pointer ");"
-.BI "void * pthread_getspecific(pthread_key_t " key ");"
+.BI "int pthread_key_create(pthread_key_t *" key ,
+.BI " void (*" destr_function ") (void *));"
+.BI "int pthread_key_delete(pthread_key_t " key );
+.BI "int pthread_setspecific(pthread_key_t " key ", const void *" pointer );
+.BI "void * pthread_getspecific(pthread_key_t " key );
+.fi
.
.
.SH DESCRIPTION