Re: [PATCH 00/22] man3: SYNOPSIS: Use 'restrict' in prototypes (batch 3)

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

 



Hi Alex,

On 3/6/21 12:50 AM, Alejandro Colomar wrote:
> Hi Michael,
> 
> This fixes up to pthread_attr_setguardsize.3 to use 'restrict'.

Thanks!

> Please have a special look at printf.3, because of the ffix.

It looks okay to me.

> Also, I included in this patchset one patch about 'volatile': malloc_hook.3.
> I introduced it by accident into this patch set,
> and I'm too lazy to remove it :P

Okay.

> I have no other patches related to 'volatile' pending.
> If you think it's likely that there are more cases, please tell me,
> and I'll try to have a look (I'd have to create a list of
> man[23] variables for that, similar to man_lsfunc()).

I'm not aware of other 'volatile' cases.

> 
> Cheers,
> 
> Alex
> 
> Alejandro Colomar (22):
>   getservent_r.3: SYNOPSIS: Use 'restrict' in prototypes
>   getsubopt.3: SYNOPSIS: Use 'restrict' in prototypes
>   glob.3: SYNOPSIS: Use 'restrict' in prototypes
>   iconv.3: SYNOPSIS: Use 'restrict' in prototypes
>   inet_ntop.3: SYNOPSIS: Use 'restrict' in prototypes
>   inet_pton.3: SYNOPSIS: Use 'restrict' in prototypes
>   lio_listio.3: SYNOPSIS: Use 'restrict' in prototypes
>   makecontext.3: SYNOPSIS: Use 'restrict' in prototypes
>   malloc_hook.3: SYNOPSIS: Use 'volatile' in prototypes
>   mbrlen.3: SYNOPSIS: Use 'restrict' in prototypes
>   mbrtowc.3: SYNOPSIS: Use 'restrict' in prototypes
>   mbsnrtowcs.3: SYNOPSIS: Use 'restrict' in prototypes
>   mbsrtowcs.3: SYNOPSIS: Use 'restrict' in prototypes
>   mbstowcs.3: SYNOPSIS: Use 'restrict' in prototypes
>   mbtowc.3: SYNOPSIS: Use 'restrict' in prototypes
>   mempcpy.3: SYNOPSIS: Use 'restrict' in prototypes
>   mq_getattr.3: SYNOPSIS: Use 'restrict' in prototypes
>   mq_receive.3: SYNOPSIS: Use 'restrict' in prototypes
>   posix_spawn.3: SYNOPSIS: Use 'restrict' in prototypes
>   posix_spawn.3: SYNOPSIS: Use 'restrict' in prototypes
>   printf.3: SYNOPSIS: Use 'restrict' in prototypes; ffix too
>   pthread_attr_setguardsize.3: SYNOPSIS: Use 'restrict' in prototypes

I've applied all of these.

Thanks!

Michael

>  man3/getservent_r.3              | 21 +++++++++++++--------
>  man3/getsubopt.3                 |  4 ++--
>  man3/glob.3                      |  4 ++--
>  man3/iconv.3                     |  4 ++--
>  man3/inet_ntop.3                 |  4 ++--
>  man3/inet_pton.3                 |  3 ++-
>  man3/lio_listio.3                |  4 ++--
>  man3/makecontext.3               |  6 ++++--
>  man3/malloc_hook.3               | 10 +++++-----
>  man3/mbrlen.3                    |  3 ++-
>  man3/mbrtowc.3                   |  5 +++--
>  man3/mbsnrtowcs.3                |  5 +++--
>  man3/mbsrtowcs.3                 |  4 ++--
>  man3/mbstowcs.3                  |  3 ++-
>  man3/mbtowc.3                    |  3 ++-
>  man3/mempcpy.3                   |  7 +++++--
>  man3/mq_getattr.3                |  4 ++--
>  man3/mq_receive.3                |  6 +++---
>  man3/posix_spawn.3               | 18 ++++++++++--------
>  man3/printf.3                    | 29 ++++++++++++++++++-----------
>  man3/pthread_attr_setguardsize.3 |  4 ++--
>  21 files changed, 88 insertions(+), 63 deletions(-)
> 


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