X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/5b2abdfbf4211b6592cdd02b9507555a0ecbb04b..7b00c0c43f52e9d27168e67a26aac19065cdb40c:/pthreads/pthread_key_create.3 diff --git a/pthreads/pthread_key_create.3 b/pthreads/pthread_key_create.3 index 82a8a1c..77fae74 100644 --- a/pthreads/pthread_key_create.3 +++ b/pthreads/pthread_key_create.3 @@ -39,15 +39,18 @@ .Sh SYNOPSIS .Fd #include .Ft int -.Fn pthread_key_create "pthread_key_t *key" "void (*destructor)(void *)" +.Fo pthread_key_create +.Fa "pthread_key_t *key" +.Fa "void (*destructor)(void *)" +.Fc .Sh DESCRIPTION The .Fn pthread_key_create -function creates a thread-specific data key visible to all threads in the -process. +function creates a thread-specific data key +that is 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 @@ -82,7 +85,7 @@ If successful, the 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