summaryrefslogtreecommitdiffstats
path: root/share/man/man3/pthread_setspecific.3
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2003-03-24 16:05:24 +0000
committercharnier <charnier@FreeBSD.org>2003-03-24 16:05:24 +0000
commitd0441d10b5801db1d53f885fa707ae3768d2c98d (patch)
tree71e3892a3a656b566e2fb0d980a8bc0a6fe0c300 /share/man/man3/pthread_setspecific.3
parentf0ffe0ef9f006aa0c680f7def2d63f561eaade3f (diff)
downloadFreeBSD-src-d0441d10b5801db1d53f885fa707ae3768d2c98d.zip
FreeBSD-src-d0441d10b5801db1d53f885fa707ae3768d2c98d.tar.gz
The .Fn function. Use .Xr where appropriate.
Diffstat (limited to 'share/man/man3/pthread_setspecific.3')
-rw-r--r--share/man/man3/pthread_setspecific.313
1 files changed, 8 insertions, 5 deletions
diff --git a/share/man/man3/pthread_setspecific.3 b/share/man/man3/pthread_setspecific.3
index 5bc274c..a2c47d0 100644
--- a/share/man/man3/pthread_setspecific.3
+++ b/share/man/man3/pthread_setspecific.3
@@ -64,18 +64,20 @@ has been deleted with
.Fn pthread_key_delete
is undefined.
.Pp
+The
.Fn pthread_setspecific
-may be called from a thread-specific data destructor function, however this
-may result in lost storage or infinite loops.
+function may be called from a thread-specific data destructor function,
+however this may result in lost storage or infinite loops.
.Sh RETURN VALUES
-If successful, the
+If successful, the
.Fn pthread_setspecific
function will return zero.
Otherwise an error number will be returned to
indicate the error.
.Sh ERRORS
+The
.Fn pthread_setspecific
-will fail if:
+function will fail if:
.Bl -tag -width Er
.It Bq Er ENOMEM
Insufficient memory exists to associate the value with the
@@ -90,6 +92,7 @@ value is invalid.
.Xr pthread_key_create 3 ,
.Xr pthread_key_delete 3
.Sh STANDARDS
+The
.Fn pthread_setspecific
-conforms to
+function conforms to
.St -p1003.1-96 .
OpenPOWER on IntegriCloud