aboutsummaryrefslogtreecommitdiff
path: root/lib/libpthread/man
diff options
context:
space:
mode:
authorMurray Stokely <murray@FreeBSD.org>2001-11-05 08:21:32 +0000
committerMurray Stokely <murray@FreeBSD.org>2001-11-05 08:21:32 +0000
commit5e77dc7342492711fc4a0c56abe36557ba1fbd6d (patch)
tree6c1c4859bd48244a433fcce32b09fe640d78a0a9 /lib/libpthread/man
parentfba9768c412c1d5eb079a43bc37d81641159f247 (diff)
Notes
Diffstat (limited to 'lib/libpthread/man')
-rw-r--r--lib/libpthread/man/pthread_testcancel.312
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libpthread/man/pthread_testcancel.3 b/lib/libpthread/man/pthread_testcancel.3
index 95672fa1efb4e..6467ac6f94b59 100644
--- a/lib/libpthread/man/pthread_testcancel.3
+++ b/lib/libpthread/man/pthread_testcancel.3
@@ -23,7 +23,11 @@ The
function atomically both sets the calling thread's cancelability state
to the indicated
.Fa state
-and returns the previous cancelability state at the location referenced by
+and, if
+.Fa oldstate
+is not
+.Dv NULL ,
+returns the previous cancelability state at the location referenced by
.Fa oldstate .
Legal values for
.Fa state
@@ -37,7 +41,11 @@ The
function atomically both sets the calling thread's cancelability type
to the indicated
.Fa type
-and returns the previous cancelability type at the location referenced by
+and, if
+.Fa oldtype
+is not
+.Dv NULL ,
+returns the previous cancelability type at the location referenced by
.Fa oldtype .
Legal values for
.Fa type