summaryrefslogtreecommitdiff
path: root/lib/libc_r/man/pthread_testcancel.3
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-02-21 20:12:20 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-02-21 20:12:20 +0000
commit3ebcbfa07331d5d37f3482652103c08841ac7311 (patch)
tree9a4a9d615bdde8b552be59359f6441502a664dcf /lib/libc_r/man/pthread_testcancel.3
parentdcc9cb6a78c0b3f1e7a17bb04ae1ad2eac64ec76 (diff)
Use .St for standards. Random cleanups as well.
Diffstat (limited to 'lib/libc_r/man/pthread_testcancel.3')
-rw-r--r--lib/libc_r/man/pthread_testcancel.320
1 files changed, 14 insertions, 6 deletions
diff --git a/lib/libc_r/man/pthread_testcancel.3 b/lib/libc_r/man/pthread_testcancel.3
index b34ae7c7d8c..f2eeb0106dc 100644
--- a/lib/libc_r/man/pthread_testcancel.3
+++ b/lib/libc_r/man/pthread_testcancel.3
@@ -1,4 +1,5 @@
-.\" $OpenBSD: pthread_testcancel.3,v 1.6 2000/01/22 13:59:29 aaron Exp $
+.\" $OpenBSD: pthread_testcancel.3,v 1.7 2002/02/21 20:12:19 fgsch Exp $
+.\"
.Dd January 17, 1999
.Dt PTHREAD_TESTCANCEL 3
.Os
@@ -21,7 +22,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
@@ -35,7 +40,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
@@ -178,6 +187,5 @@ or
.Xr pthread_cancel 3
.Sh STANDARDS
.Fn pthread_testcancel
-conforms to ISO/IEC 9945-1 ANSI/IEEE
-.Pq Dq Tn POSIX
-Std 1003.1 Second Edition 1996-07-12.
+conforms to
+.St -p1003.1-96