[00/23] man3: SYNOPSIS: Use 'restrict' in prototypes (batch 4)

Message ID 20210308185331.242176-1-alx.manpages@gmail.com
Headers show
Series
  • man3: SYNOPSIS: Use 'restrict' in prototypes (batch 4)
Related show

Message

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

-- 
2.30.1