sched_setattr.2: Add note about missing glibc wrappers
PATCH 1/1 sched_setattr.2: Add note about missing glibc wrappers
......
.../glibc$ grep_glibc_prototype sched_setattr
.../glibc$ grep_glibc_prototype sched_getattr
.../glibc$
Signed-off-by Alejandro Colomar <[email protected]>
--- man2/sched_setattr.2 | 6 ++++++ 1 file changed, 6 insertions(+)
man2/sched_setattr.2 +6 -0
@@ -37,6 +37,9 @@ set and get scheduling policy and attributes .BI " unsigned int " size ", unsigned int " flags ); .fi .\" FIXME . Add feature test macro requirements +.PP +.IR Note : +There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION .SS sched_setattr() The
@@ -388,6 +391,9 @@ These system calls first appeared in Linux 3.14. .SH CONFORMING TO These system calls are nonstandard Linux extensions. .SH NOTES +Glibc does not provide wrappers for these system calls; call them using +.BR syscall (2). +.PP .BR sched_setattr () provides a superset of the functionality of .BR sched_setscheduler (2),
Signature · 1 line
2.30.0
Hi Alex,
Quoted 7 lines · Alejandro Colomar
......
.../glibc$
grep_glibc_prototypesched_setattr
.../glibc$grep_glibc_prototypesched_getattr
.../glibc$Signed-off-by Alejandro Colomar <[email protected]>
Thanks! Patch applied.
Cheers,
Michael
Quoted 29 lines
--- man2/sched_setattr.2 | 6 ++++++ 1 file changed, 6 insertions(+)man2/sched_setattr.2 +6
-0@@ -37,6 +37,9 @@ set and get scheduling policy and attributes .BI " unsigned int " size ", unsigned int " flags ); .fi .\" FIXME . Add feature test macro requirements +.PP +.IR Note : +There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION .SS sched_setattr() The@@ -388,6 +391,9 @@ These system calls first appeared in Linux 3.14. .SH CONFORMING TO These system calls are nonstandard Linux extensions. .SH NOTES +Glibc does not provide wrappers for these system calls; call them using +.BR syscall (2). +.PP .BR sched_setattr () provides a superset of the functionality of .BR sched_setscheduler (2),
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/