summaryrefslogtreecommitdiff
path: root/lib/libc_r/man/pthread_key_delete.3
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-05-01 08:03:31 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-05-01 08:03:31 +0000
commit41434dbdbf3099a023505b5b3915bf4d9b778ee1 (patch)
tree1ca936fb3301ad4347fcc3a38fd2c83e87a15817 /lib/libc_r/man/pthread_key_delete.3
parent04e9f1abe6384e852ca0207d882814dab9237dd4 (diff)
o) start new sentence on a new line;
o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
Diffstat (limited to 'lib/libc_r/man/pthread_key_delete.3')
-rw-r--r--lib/libc_r/man/pthread_key_delete.316
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/libc_r/man/pthread_key_delete.3 b/lib/libc_r/man/pthread_key_delete.3
index 02c1ee952a1..121c2d87253 100644
--- a/lib/libc_r/man/pthread_key_delete.3
+++ b/lib/libc_r/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: