Loading...
--- Libc/Libc-583/pthreads/pthread_key_create.3
+++ Libc/Libc-262/pthreads/pthread_key_create.3
@@ -39,18 +39,15 @@
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft int
-.Fo pthread_key_create
-.Fa "pthread_key_t *key"
-.Fa "void (*destructor)(void *)"
-.Fc
+.Fn pthread_key_create "pthread_key_t *key" "void (*destructor)(void *)"
.Sh DESCRIPTION
The
.Fn pthread_key_create
-function creates a thread-specific data key
-that is visible to all threads in the process.
+function creates a thread-specific data key visible to all threads in the
+process.
Key values provided by
.Fn pthread_key_create
-are opaque objects, used to locate thread-specific data.
+are opaque objects used to locate thread-specific data.
Although the same
key value may be used by different threads, the values bound to the key
by
@@ -85,7 +82,7 @@
function will store the newly created key value at the location specified by
.Fa key
and returns zero.
-Otherwise, an error number will be returned to indicate
+Otherwise an error number will be returned to indicate
the error.
.Sh ERRORS
.Fn pthread_key_create