Skip to content

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

Alejandro Colomar linux-man 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest23 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/23pthread_attr_setschedpolicy.3: SYNOPSIS: Use 'restrict' in prototypesman3/pthread_attr_setschedpolicy.3+3 -40 replies
2/23pthread_attr_setscope.3: SYNOPSIS: Use 'restrict' in prototypesman3/pthread_attr_setscope.3+3 -40 replies
3/23pthread_attr_setstackaddr.3: SYNOPSIS: Use 'restrict' in prototypesman3/pthread_attr_setstackaddr.3+2 -20 replies
4/23pthread_attr_setstacksize.3: SYNOPSIS: Use 'restrict' in prototypesman3/pthread_attr_setstacksize.3+2 -20 replies
5/23pthread_attr_setstack.3: SYNOPSIS: Use 'restrict' in prototypesman3/pthread_attr_setstack.3+3 -20 replies
6/23pthread_create.3: SYNOPSIS: Use 'restrict' in prototypesman3/pthread_create.3+4 -20 replies
7/23pthread_getattr_default_np.3: SYNOPSIS: Add missing 'const'man3/pthread_getattr_default_np.3+1 -10 replies
8/23pthread_mutexattr_getpshared.3: SYNOPSIS: Use 'restrict' in prototypesman3/pthread_mutexattr_getpshared.3+4 -30 replies
9/23pthread_mutexattr_setrobust.3: SYNOPSIS: Remove incorrect 'const'man3/pthread_mutexattr_setrobust.3+1 -10 replies
10/23pthread_rwlockattr_setkind_np.3: SYNOPSIS: Use 'restrict' in prototypesman3/pthread_rwlockattr_setkind_np.3+4 -30 replies
11/23pthread_setschedparam.3: SYNOPSIS: Use 'restrict' in prototypesman3/pthread_setschedparam.3+2 -20 replies
12/23putgrent.3: SYNOPSIS: Use 'restrict' in prototypesman3/putgrent.3+2 -10 replies
13/23putpwent.3: SYNOPSIS: Use 'restrict' in prototypesman3/putpwent.3+2 -10 replies
14/23puts.3: SYNOPSIS: Use 'restrict' in prototypesman3/puts.3+2 -20 replies
15/23qecvt.3: SYNOPSIS: Use 'restrict' in prototypesman3/qecvt.3+6 -20 replies
16/23random_r.3: SYNOPSIS: Use 'restrict' in prototypesman3/random_r.3+6 -40 replies
17/23rcmd.3: SYNOPSIS: Use 'restrict' in prototypesman3/rcmd.3+14 -120 replies
18/23readdir_r.3: SYNOPSIS: Use 'restrict' in prototypesman3/readdir_r.3+2 -20 replies
19/23realpath.3: SYNOPSIS: Use 'restrict' in prototypesman3/realpath.3+2 -10 replies
20/23regex.3: SYNOPSIS: Use 'restrict' in prototypesman3/regex.3+8 -60 replies
21/23rexec.3: SYNOPSIS: Use 'restrict' in prototypesman3/rexec.3+6 -40 replies
22/23scandir.3: SYNOPSIS: Use 'restrict' in prototypesman3/scandir.3+1 -10 replies
23/23scandir.3: SYNOPSIS: Use 'restrict' in prototypesman3/scandir.3+1 -10 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/23] man3: SYNOPSIS: Use 'restrict' in prototypes (batch 4)

Hi Michael,

This fixes up til scandir.3.
I hope there aren't many more left :)

Please have a special look at two of them, because you may prefer a different formatting. I'm referring to the previous email about "Formatting very long function parameters". The functions are pthread_mutexattr_getpshared(3) and another one which I don't remember (there are only 2, and as I've finished with pthread_*() I highly doubt there will be any more).

Cheers,

A

Alejandro Colomar (23):
pthread_attr_setschedpolicy.3: SYNOPSIS: Use 'restrict' in prototypes pthread_attr_setscope.3: SYNOPSIS: Use 'restrict' in prototypes pthread_attr_setstackaddr.3: SYNOPSIS: Use 'restrict' in prototypes pthread_attr_setstacksize.3: SYNOPSIS: Use 'restrict' in prototypes pthread_attr_setstack.3: SYNOPSIS: Use 'restrict' in prototypes pthread_create.3: SYNOPSIS: Use 'restrict' in prototypes pthread_getattr_default_np.3: SYNOPSIS: Add missing 'const' pthread_mutexattr_getpshared.3: SYNOPSIS: Use 'restrict' in prototypes pthread_mutexattr_setrobust.3: SYNOPSIS: Remove incorrect 'const' pthread_rwlockattr_setkind_np.3: SYNOPSIS: Use 'restrict' in
prototypes
pthread_setschedparam.3: SYNOPSIS: Use 'restrict' in prototypes putgrent.3: SYNOPSIS: Use 'restrict' in prototypes putpwent.3: SYNOPSIS: Use 'restrict' in prototypes
puts.3: SYNOPSIS: Use 'restrict' in prototypes
qecvt.3: SYNOPSIS: Use 'restrict' in prototypes random_r.3: SYNOPSIS: Use 'restrict' in prototypes
rcmd.3: SYNOPSIS: Use 'restrict' in prototypes readdir_r.3: SYNOPSIS: Use 'restrict' in prototypes realpath.3: SYNOPSIS: Use 'restrict' in prototypes regex.3: SYNOPSIS: Use 'restrict' in prototypes
rexec.3: SYNOPSIS: Use 'restrict' in prototypes
scandir.3: SYNOPSIS: Use 'restrict' in prototypes scandir.3: SYNOPSIS: Use 'restrict' in prototypes

 man3/pthread_attr_setschedpolicy.3   |  7 +++----
 man3/pthread_attr_setscope.3         |  7 +++----
 man3/pthread_attr_setstack.3         |  5 +++--
 man3/pthread_attr_setstackaddr.3     |  4 ++--
 man3/pthread_attr_setstacksize.3     |  4 ++--
 man3/pthread_create.3                |  6 ++++--
 man3/pthread_getattr_default_np.3    |  2 +-
 man3/pthread_mutexattr_getpshared.3  |  7 ++++---
 man3/pthread_mutexattr_setrobust.3   |  2 +-
 man3/pthread_rwlockattr_setkind_np.3 |  7 ++++---
 man3/pthread_setschedparam.3         |  4 ++--
 man3/putgrent.3                      |  3 ++-
 man3/putpwent.3                      |  3 ++-
 man3/puts.3                          |  4 ++--
 man3/qecvt.3                         |  8 ++++++--
 man3/random_r.3                      | 10 ++++++----
 man3/rcmd.3                          | 26 ++++++++++++++------------
 man3/readdir_r.3                     |  4 ++--
 man3/realpath.3                      |  3 ++-
 man3/regex.3                         | 14 ++++++++------
 man3/rexec.3                         | 10 ++++++----
 man3/scandir.3                       |  4 ++--
 22 files changed, 81 insertions(+), 63 deletions(-)
Signature · 1 line
2.30.1