Skip to content

Commit

Permalink
sched_setaffinity01: Convert docs to docparse
Browse files Browse the repository at this point in the history
Signed-off-by: Ma Xinjian <maxj.fnst@fujitsu.com>
Reviewed-by: Li Wang <liwang@redhat.com>
  • Loading branch information
MaXinjian authored and wangli5665 committed Sep 2, 2024
1 parent fef7a94 commit 62f25f6
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
* Author: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
*/

/*
* Description:
/*\
* [Description]
*
* Check various errnos for sched_setaffinity():
* 1) EFAULT, if the supplied memory address is invalid.
* 2) EINVAL, if the mask doesn't contain at least one permitted cpu.
* 3) ESRCH, if the process whose id is pid could not be found.
* 4) EPERM, if the calling process doesn't have appropriate privileges.
*
* 1. EFAULT, if the supplied memory address is invalid.
* 2. EINVAL, if the mask doesn't contain at least one permitted cpu.
* 3. ESRCH, if the process whose id is pid could not be found.
* 4. EPERM, if the calling process doesn't have appropriate privileges.
*/

#define _GNU_SOURCE
Expand Down

0 comments on commit 62f25f6

Please sign in to comment.