Re: [PATCH] sched_setattr.2: Add note about missing glibc wrappers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alex,

On 2/15/21 2:15 PM, Alejandro Colomar wrote:
> ......
> 
> .../glibc$ grep_glibc_prototype sched_setattr
> .../glibc$ grep_glibc_prototype sched_getattr
> .../glibc$
> 
> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>

Thanks! Patch applied.

Cheers,

Michael

> ---
>  man2/sched_setattr.2 | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/man2/sched_setattr.2 b/man2/sched_setattr.2
> index ecbdbffc4..c79b74a49 100644
> --- a/man2/sched_setattr.2
> +++ b/man2/sched_setattr.2
> @@ -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),
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux