Re: [PATCH v2 02/10] rt_sigqueueinfo.2: Use syscall(SYS_...); for system calls without a wrapper

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

 



Hi Alex,

On 5/25/21 6:19 AM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>

Applied.

Thanks,

Michael


> ---
>  man2/rt_sigqueueinfo.2 | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> 
> diff --git a/man2/rt_sigqueueinfo.2 b/man2/rt_sigqueueinfo.2
> index 2dd1a5877..d48ecbdcd 100644
> --- a/man2/rt_sigqueueinfo.2
> +++ b/man2/rt_sigqueueinfo.2
> @@ -27,9 +27,14 @@
>  rt_sigqueueinfo, rt_tgsigqueueinfo \- queue a signal and data
>  .SH SYNOPSIS
>  .nf
> -.BI "int rt_sigqueueinfo(pid_t " tgid ", int " sig ", siginfo_t *" info );
> -.BI "int rt_tgsigqueueinfo(pid_t " tgid ", pid_t " tid ", int " sig \
> -", siginfo_t *" info );
> +.BR "#include <linux/signal.h>" "     /* Definition of " SI_* " constants */"
> +.BR "#include <sys/syscall.h>" "      /* Definition of " SYS_* " constants */"
> +.B #include <unistd.h>
> +.PP
> +.BI "int syscall(SYS_rt_sigqueueinfo, pid_t " tgid ,
> +.BI "            int " sig ", siginfo_t *" info );
> +.BI "int syscall(SYS_rt_tgsigqueueinfo, pid_t " tgid ", pid_t " tid ,
> +.BI "            int " sig ", siginfo_t *" info );
>  .fi
>  .PP
>  .IR Note :
> 


-- 
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