diff options
author | ru <ru@FreeBSD.org> | 2003-12-30 14:59:10 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-12-30 14:59:10 +0000 |
commit | 67877ecd4865c451edc02dfbbaca275826b26e76 (patch) | |
tree | e88a5620e17cf4d23e2dd7c56f1aabe24ff4b2c0 /lib/libpthread/man/pthread_setspecific.3 | |
parent | 96159ed2347341c533d77f2f5e0685b70a4be2ed (diff) | |
download | FreeBSD-src-67877ecd4865c451edc02dfbbaca275826b26e76.zip FreeBSD-src-67877ecd4865c451edc02dfbbaca275826b26e76.tar.gz |
Pull some changes (mostly cosmetic) from libc_r manpages
in preparation for the merge.
Diffstat (limited to 'lib/libpthread/man/pthread_setspecific.3')
-rw-r--r-- | lib/libpthread/man/pthread_setspecific.3 | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/libpthread/man/pthread_setspecific.3 b/lib/libpthread/man/pthread_setspecific.3 index f429fa5..079743a 100644 --- a/lib/libpthread/man/pthread_setspecific.3 +++ b/lib/libpthread/man/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 . |