summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/cpuset_getaffinity.2
diff options
context:
space:
mode:
authorvangyzen <vangyzen@FreeBSD.org>2016-06-03 14:30:32 +0000
committervangyzen <vangyzen@FreeBSD.org>2016-06-03 14:30:32 +0000
commitc46e1b80b9c6160967bf2db2289a277529a4d2ad (patch)
tree17cddcede90e8cc90ec4e14fc732321eecd7ee8f /lib/libc/sys/cpuset_getaffinity.2
parent3ad48fe4cf3af65f4d0b06a73053646934078914 (diff)
downloadFreeBSD-src-c46e1b80b9c6160967bf2db2289a277529a4d2ad.zip
FreeBSD-src-c46e1b80b9c6160967bf2db2289a277529a4d2ad.tar.gz
Improve errno documentation in pthread_create(3) and thr_new(2)
Add some missing errno values to thr_new(2) and pthread_create(3). In particular, EDEADLK was not documented in the latter. While I'm here, improve some English and cross-references. Reviewed by: kib Sponsored by: Dell Inc. Differential Revision: https://reviews.freebsd.org/D6663
Diffstat (limited to 'lib/libc/sys/cpuset_getaffinity.2')
-rw-r--r--lib/libc/sys/cpuset_getaffinity.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/cpuset_getaffinity.2 b/lib/libc/sys/cpuset_getaffinity.2
index 7032d2e..c379518 100644
--- a/lib/libc/sys/cpuset_getaffinity.2
+++ b/lib/libc/sys/cpuset_getaffinity.2
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 20, 2015
+.Dd June 2, 2016
.Dt CPUSET_GETAFFINITY 2
.Os
.Sh NAME
@@ -114,6 +114,8 @@ to the value in
The following error codes may be set in
.Va errno :
.Bl -tag -width Er
+.\" When changing this list, consider updating share/man/man3/pthread_create.3,
+.\" since that function can return any of these errors.
.It Bq Er EINVAL
The
.Fa level
OpenPOWER on IntegriCloud