diff options
author | 2002-05-01 08:03:29 +0000 | |
---|---|---|
committer | 2002-05-01 08:03:29 +0000 | |
commit | ee997aea819580341aee10df113db886cac4a60f (patch) | |
tree | bc9dda5eb363d6052f48626ddd3c19b14321f792 /lib/libpthread/man/pthread_key_delete.3 | |
parent | Change WI_PORTTYPE_IBSS to 4. This change got lost in the big ibss (diff) | |
download | wireguard-openbsd-ee997aea819580341aee10df113db886cac4a60f.tar.xz wireguard-openbsd-ee997aea819580341aee10df113db886cac4a60f.zip |
o) start new sentence on a new line;
o) always close .Bl tags;
o) fix usage of .Xr;
millert@ ok
Diffstat (limited to 'lib/libpthread/man/pthread_key_delete.3')
-rw-r--r-- | lib/libpthread/man/pthread_key_delete.3 | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/libpthread/man/pthread_key_delete.3 b/lib/libpthread/man/pthread_key_delete.3 index 02c1ee952a1..121c2d87253 100644 --- a/lib/libpthread/man/pthread_key_delete.3 +++ b/lib/libpthread/man/pthread_key_delete.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pthread_key_delete.3,v 1.7 2002/04/30 16:31:42 mpech Exp $ +.\" $OpenBSD: pthread_key_delete.3,v 1.8 2002/05/01 08:03:30 mpech Exp $ .\" .\" Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>. .\" All rights reserved. @@ -51,12 +51,14 @@ The thread-specific data values associated with .Fa key need not be NULL at the time that .Fn pthread_key_delete -is called. It is the responsibility of the application to free any +is called. +It is the responsibility of the application to free any application storage or perform any cleanup actions for data structures related to the deleted key or associated thread-specific data in any threads; this cleanup can be done either before or after .Fn pthread_key_delete -is called. Any attempt to use +is called. +Any attempt to use .Fa key following the call to .Fn pthread_key_delete @@ -64,8 +66,8 @@ results in undefined behavior. .Pp The .Fn pthread_key_delete -function is callable from within destructor functions. Destructor functions -are not invoked by +function is callable from within destructor functions. +Destructor functions are not invoked by .Fn pthread_key_delete . Any destructor function that may have been associated with .Fa key @@ -73,8 +75,8 @@ will no longer be called upon thread exit. .Sh RETURN VALUES If successful, the .Fn pthread_key_delete -function will return zero. Otherwise an error number will be returned to -indicate the error. +function will return zero. +Otherwise an error number will be returned to indicate the error. .Sh ERRORS .Fn pthread_key_delete will fail if: |