Re: [PATCH] printf.3: Document %#m as strerrorname_np(errno)

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

 





On 12/22/21 19:58, Adhemerval Zanella wrote:
@@ -853,7 +864,10 @@ any flags, a field width, or a precision.
  .B m
  (Glibc extension; supported by uClibc and musl.)
  Print output of
-.IR strerror(errno) .
+.I strerror(errno)
+(or
+.I strerrorname_np(errno)
+in the alternate form).
  No argument is required.
  .TP
  .B %

Maybe add that strerrorname_np is only support on glibc, since on the same
section it states that 'm' is a Glibc extension supported by uClibc and
musl.

This is the main documentation for %m in the man pages, and it differs from the printf(3) CONFORMING TO (C89 and POSIX.1-2001). However, there's only a mention to strerrorname_np(3), whose main (man-pages) documentation is in strerror(3), and there it's already noted that it's a glibc extension, so I think that's enough.


The rest look ok, thanks.

Thank you :)

Cheers,
Alex

--
Alejandro Colomar
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/



[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