lkml.org 
[lkml]   [2022]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 31/41] sigprocmask.2: SYNOPSIS: Add _Nullable
    Date
    Signed-off-by: Alejandro Colomar <alx@kernel.org>
    ---
    man2/sigprocmask.2 | 15 ++++++++-------
    1 file changed, 8 insertions(+), 7 deletions(-)

    diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2
    index 6fa655fea..ae65e3400 100644
    --- a/man2/sigprocmask.2
    +++ b/man2/sigprocmask.2
    @@ -17,22 +17,23 @@ .SH SYNOPSIS
    .PP
    .nf
    /* Prototype for the glibc wrapper function */
    -.BI "int sigprocmask(int " how ", const sigset_t *restrict " set ,
    -.BI " sigset_t *restrict " oldset );
    +.BI "int sigprocmask(int " how ", const sigset_t *_Nullable restrict " set ,
    +.BI " sigset_t *_Nullable restrict " oldset );
    .PP
    .BR "#include <signal.h>" " /* Definition of " SIG_* " constants */"
    .BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
    .B #include <unistd.h>
    .PP
    /* Prototype for the underlying system call */
    -.BI "int syscall(SYS_rt_sigprocmask, int " how ", const kernel_sigset_t *" set ,
    -.BI " kernel_sigset_t *" oldset \
    -", size_t " sigsetsize );
    +.BI "int syscall(SYS_rt_sigprocmask, int " how ,
    +.BI " const kernel_sigset_t *_Nullable " set ,
    +.BI " kernel_sigset_t *_Nullable " oldset ,
    +.BI " size_t " sigsetsize );
    .PP
    /* Prototype for the legacy system call */
    .BI "[[deprecated]] int syscall(SYS_sigprocmask, int " how ,
    -.BI " const old_kernel_sigset_t *" set ,
    -.BI " old_kernel_sigset_t *" oldset );
    +.BI " const old_kernel_sigset_t *_Nullable " set ,
    +.BI " old_kernel_sigset_t *_Nullable " oldset );
    .fi
    .PP
    .RS -4
    --
    2.38.1
    \
     
     \ /
      Last update: 2022-12-03 21:28    [W:2.777 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site