]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
sched_setattr.2: Add note about missing glibc wrappers
authorAlejandro Colomar <alx.manpages@gmail.com>
Mon, 15 Feb 2021 13:15:12 +0000 (14:15 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 15 Feb 2021 19:50:19 +0000 (20:50 +0100)
......

.../glibc$ grep_glibc_prototype sched_setattr
.../glibc$ grep_glibc_prototype sched_getattr
.../glibc$

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/sched_setattr.2

index ecbdbffc4aad1100d87b73e5c9ffad39a87af2cd..c79b74a49e1e27d02b6cd9652cea5c06fd09be41 100644 (file)
@@ -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),