diff options
author | murray <murray@FreeBSD.org> | 2001-11-05 08:21:32 +0000 |
---|---|---|
committer | murray <murray@FreeBSD.org> | 2001-11-05 08:21:32 +0000 |
commit | 14284a1c0fd4c34f71c0dc995b6a8fb6c5705f0d (patch) | |
tree | 6c1c4859bd48244a433fcce32b09fe640d78a0a9 /share/man/man3 | |
parent | d8f7469b5973ea690d0dc0c4b62b16ca016c84a3 (diff) | |
download | FreeBSD-src-14284a1c0fd4c34f71c0dc995b6a8fb6c5705f0d.zip FreeBSD-src-14284a1c0fd4c34f71c0dc995b6a8fb6c5705f0d.tar.gz |
Describe handling of NULLs passed to pthread_setcancelstate().
PR: docs/31745
Submitted by: Andrew <andrew@ugh.net.au>
Diffstat (limited to 'share/man/man3')
-rw-r--r-- | share/man/man3/pthread_testcancel.3 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/share/man/man3/pthread_testcancel.3 b/share/man/man3/pthread_testcancel.3 index 95672fa..6467ac6 100644 --- a/share/man/man3/pthread_testcancel.3 +++ b/share/man/man3/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 |