Linux Manual Pages development
 help / color / mirror / Atom feed
* [BUG] typo in man2/readlink.2
@ 2026-04-15 18:12 Dirk Müller
  2026-04-15 18:24 ` G. Branden Robinson
  0 siblings, 1 reply; 8+ messages in thread
From: Dirk Müller @ 2026-04-15 18:12 UTC (permalink / raw)
  To: linux-man

Hi,

I noticed that man pages 6.17 release includes this in the Synopsis
section of man -l man/man2/readlink.2:

      ssize_t readlink(size_t bufsiz;
                       const char *restrict path,
                       char buf[restrict bufsiz], size_t bufsiz);

I believe this is a typo and it should be:

      ssize_t readlink(const char *restrict path,
                       char buf[restrict bufsiz], size_t bufsiz);

instead. It doesn't make sense to me to have bufsiz twice in the
function signature and as far as I can tell from looking at the header
files
bufsiz is the last argument.

Sorry for not including a patch, but I am not sufficiently skilled at
editing man page sources :-)

Greetings,
Dirk

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-04-17 13:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-15 18:12 [BUG] typo in man2/readlink.2 Dirk Müller
2026-04-15 18:24 ` G. Branden Robinson
2026-04-15 20:00   ` Dirk Müller
2026-04-15 21:36     ` Alejandro Colomar
2026-04-15 21:57       ` Dirk Müller
2026-04-15 23:26         ` Alejandro Colomar
2026-04-17  6:41           ` Dirk Müller
2026-04-17 13:28             ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox