Re: Erroneous text about POSIX in tmpfile(3) man page

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

 



* Rich Felker <dalias@xxxxxxxx>, 2022-05-13, 13:29:
tmpfile.3 contains the following text:

NOTES
      POSIX.1-2001 specifies: an error message may be written to stdout if
      the stream cannot be opened.

I can find no such text in POSIX.1-2001 (looking at https://pubs.opengroup.org/onlinepubs/007904975/functions/tmpfile.html) and such an allowance would contradict ISO C which makes no such allowance for it to write to stdout. I'm not sure where this came from but it should probably be removed, or changed to indicate whichever historical implementation wrongly did this if there was one.

I suppose it's a typo: it should say "stderr", not "stdout".

--
Jakub Wilk



[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