Skip to content

man3: SYNOPSIS: Use 'restrict' in prototypes (batch 3)

Alejandro Colomar linux-man 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22getservent_r.3: SYNOPSIS: Use 'restrict' in prototypesman3/getservent_r.3+13 -80 replies
2/22getsubopt.3: SYNOPSIS: Use 'restrict' in prototypesman3/getsubopt.3+2 -20 replies
3/22glob.3: SYNOPSIS: Use 'restrict' in prototypesman3/glob.3+2 -20 replies
4/22iconv.3: SYNOPSIS: Use 'restrict' in prototypesman3/iconv.3+2 -20 replies
5/22inet_ntop.3: SYNOPSIS: Use 'restrict' in prototypesman3/inet_ntop.3+2 -20 replies
6/22inet_pton.3: SYNOPSIS: Use 'restrict' in prototypesman3/inet_pton.3+2 -10 replies
7/22lio_listio.3: SYNOPSIS: Use 'restrict' in prototypesman3/lio_listio.3+2 -20 replies
8/22makecontext.3: SYNOPSIS: Use 'restrict' in prototypesman3/makecontext.3+4 -20 replies
9/22malloc_hook.3: SYNOPSIS: Use 'volatile' in prototypesman3/malloc_hook.3+5 -50 replies
10/22mbrlen.3: SYNOPSIS: Use 'restrict' in prototypesman3/mbrlen.3+2 -10 replies
11/22mbrtowc.3: SYNOPSIS: Use 'restrict' in prototypesman3/mbrtowc.3+3 -20 replies
12/22mbsnrtowcs.3: SYNOPSIS: Use 'restrict' in prototypesman3/mbsnrtowcs.3+3 -20 replies
13/22mbsrtowcs.3: SYNOPSIS: Use 'restrict' in prototypesman3/mbsrtowcs.3+2 -20 replies
14/22mbstowcs.3: SYNOPSIS: Use 'restrict' in prototypesman3/mbstowcs.3+2 -10 replies
15/22mbtowc.3: SYNOPSIS: Use 'restrict' in prototypesman3/mbtowc.3+2 -10 replies
16/22mempcpy.3: SYNOPSIS: Use 'restrict' in prototypesman3/mempcpy.3+5 -20 replies
17/22mq_getattr.3: SYNOPSIS: Use 'restrict' in prototypesman3/mq_getattr.3+2 -20 replies
18/22mq_receive.3: SYNOPSIS: Use 'restrict' in prototypesman3/mq_receive.3+3 -30 replies
19/22posix_spawn.3: SYNOPSIS: Use 'restrict' in prototypesman3/posix_spawn.3+5 -40 replies
20/22posix_spawn.3: SYNOPSIS: Use 'restrict' in prototypesman3/posix_spawn.3+5 -40 replies
21/22printf.3: SYNOPSIS: Use 'restrict' in prototypes; ffix tooman3/printf.3+18 -110 replies
22/22pthread_attr_setguardsize.3: SYNOPSIS: Use 'restrict' in prototypesman3/pthread_attr_setguardsize.3+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Hi Michael,

This fixes up to pthread_attr_setguardsize.3 to use 'restrict'. Please have a special look at printf.3, because of the ffix.

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
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()).

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

 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(-)
Signature · 1 line
2.30.1.721.g45526154a5