summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc_r/man/pthread_setspecific.38
-rw-r--r--lib/libpthread/man/pthread_setspecific.38
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc_r/man/pthread_setspecific.3 b/lib/libc_r/man/pthread_setspecific.3
index f8f8e855dd5..3bedda09b44 100644
--- a/lib/libc_r/man/pthread_setspecific.3
+++ b/lib/libc_r/man/pthread_setspecific.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_setspecific.3,v 1.6 1999/11/24 05:35:33 d Exp $
+.\" $OpenBSD: pthread_setspecific.3,v 1.7 2001/05/31 03:12:27 deraadt Exp $
.\" Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>.
.\" All rights reserved.
.\"
@@ -48,18 +48,18 @@ function associates a thread-specific value with a
.Fa key
obtained via a previous call to
.Fn pthread_key_create .
-Different threads man bind different values to the same key. These values are
+Different threads may bind different values to the same key. These values are
typically pointers to blocks of dynamically allocated memory that have been
reserved for use by the calling thread.
.Pp
The effect of calling
.Fn pthread_setspecific
with a key value not obtained from
-.Fn pthread_key_create
+.Fn pthread_key_create ,
or after
.Fa key
has been deleted with
-.Fn pthread_key_delete
+.Fn pthread_key_delete ,
is undefined.
.Pp
.Fn pthread_setspecific
diff --git a/lib/libpthread/man/pthread_setspecific.3 b/lib/libpthread/man/pthread_setspecific.3
index f8f8e855dd5..3bedda09b44 100644
--- a/lib/libpthread/man/pthread_setspecific.3
+++ b/lib/libpthread/man/pthread_setspecific.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_setspecific.3,v 1.6 1999/11/24 05:35:33 d Exp $
+.\" $OpenBSD: pthread_setspecific.3,v 1.7 2001/05/31 03:12:27 deraadt Exp $
.\" Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>.
.\" All rights reserved.
.\"
@@ -48,18 +48,18 @@ function associates a thread-specific value with a
.Fa key
obtained via a previous call to
.Fn pthread_key_create .
-Different threads man bind different values to the same key. These values are
+Different threads may bind different values to the same key. These values are
typically pointers to blocks of dynamically allocated memory that have been
reserved for use by the calling thread.
.Pp
The effect of calling
.Fn pthread_setspecific
with a key value not obtained from
-.Fn pthread_key_create
+.Fn pthread_key_create ,
or after
.Fa key
has been deleted with
-.Fn pthread_key_delete
+.Fn pthread_key_delete ,
is undefined.
.Pp
.Fn pthread_setspecific