diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2019-09-25 14:33:15 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2019-09-25 14:35:27 +0200 |
| commit | d703afe9a6a1639ab96f609c57fab6fd770f9af8 (patch) | |
| tree | e4d9a37f914fd122eb1365134d7245e69c6dae57 /man2 | |
| parent | 618b1e7eca08515e79aa82e269ca8fcdca896092 (diff) | |
| download | man-pages-d703afe9a6a1639ab96f609c57fab6fd770f9af8.tar.gz | |
sched_setaffinity.2: RETURN VALUE: sched_getaffinity() syscall differs from the wrapper
In RETURN VALUE, point reader at subsection noting that the return
value of the raw sched_setaffinity() system call differs from the
wrapper function in glibc.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
| -rw-r--r-- | man2/sched_setaffinity.2 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/man2/sched_setaffinity.2 b/man2/sched_setaffinity.2 index d6663450f4..30528da44f 100644 --- a/man2/sched_setaffinity.2 +++ b/man2/sched_setaffinity.2 @@ -109,7 +109,10 @@ On success, .BR sched_setaffinity () and .BR sched_getaffinity () -return 0. +return 0 (but see "C library/kernel differences" below, +which notes that the underlying +.BR sched_getaffinity () +differs in its return value). On error, \-1 is returned, and .I errno is set appropriately. |
