summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2017-01-19 16:25:56 +0000
committerRobert Mustacchi <rm@joyent.com>2017-01-20 23:27:19 +0000
commit8682a7e091ccd625f69f32e89d09028e33504f7f (patch)
treeb394b975c5fd6eb45fdef5ec7c58c145bac93e03 /usr/src/man/man3c
parent143399fdddff5088b72e3e318dec9091d04e95f0 (diff)
downloadillumos-joyent-8682a7e091ccd625f69f32e89d09028e33504f7f.tar.gz
OS-5905 thrd_equal implements the wrong specification
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Patrick Mooney <patrick.mooney@joyent.com>
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r--usr/src/man/man3c/thrd_equal.3c11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr/src/man/man3c/thrd_equal.3c b/usr/src/man/man3c/thrd_equal.3c
index 6c77a72138..86e5a22ef3 100644
--- a/usr/src/man/man3c/thrd_equal.3c
+++ b/usr/src/man/man3c/thrd_equal.3c
@@ -9,9 +9,9 @@
.\" http://www.illumos.org/license/CDDL.
.\"
.\"
-.\" Copyright 2016 Joyent, Inc.
+.\" Copyright 2017 Joyent, Inc.
.\"
-.Dd "Jan 11, 2015"
+.Dd "Jan 19, 2017"
.Dt THRD_EQUAL 3C
.Os
.Sh NAME
@@ -36,13 +36,14 @@ and determines whether or not they refer to the same thread.
The
.Fn thrd_equal
function returns
-.Sy 0
+.Sy non-zero
if
.Fa thrd0
and
.Fa thrd1
-refer to the same thread. Otherwise, a non-zero value is returned,
-indicating that
+refer to the same thread. Otherwise,
+.Sy 0
+is returned, indicating that
.Fa thrd0
and
.Fa thrd1