Loading...
--- Libc/Libc-583/pthreads/pthread_getspecific.3
+++ Libc/Libc-320/pthreads/pthread_getspecific.3
@@ -39,26 +39,24 @@
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft void *
-.Fo pthread_getspecific
-.Fa "pthread_key_t key"
-.Fc
+.Fn pthread_getspecific "pthread_key_t key"
.Sh DESCRIPTION
The
.Fn pthread_getspecific
-function returns the value that is currently bound to the specified
-.Fa key ,
+function returns the value currently bound to the specified
+.Fa key
on behalf of the calling thread.
.Pp
The effect of calling
.Fn pthread_getspecific
with a
.Fa key
-value that was not obtained from
-.Fn pthread_key_create ,
-or after a
+value not obtained from
+.Fn pthread_key_create
+or after
.Fa key
has been deleted with
-.Fn pthread_key_delete ,
+.Fn pthread_key_delete
is undefined.
.Pp
.Fn pthread_getspecific
@@ -70,7 +68,7 @@
.Fa key .
If no thread-specific data value is associated with
.Fa key ,
-the value NULL is returned.
+then the value NULL is returned.
.Sh ERRORS
None.
.Sh SEE ALSO