[Bug manual/14872] libc web page doesn't specify if PATH_MAX and others include nul terminator
mtk.manpages at gmail dot com
sourceware-bugzilla@sourceware.org
Thu Dec 27 17:31:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=14872
--- Comment #5 from Michael Kerrisk <mtk.manpages at gmail dot com> 2012-12-27 17:31:13 UTC ---
(In reply to comment #3)
> The whole POSIX filename interface is byte oriented, so this should be obvious.
It's only obvious to people who work with this stuff all the time. And many
people reading the documentation are not.
Really, the manual should clarify in each case that the unit is bytes. This is
especially problematic because various other parts of the manual refer to
"characters" when discussing NAME_MAX, PATH_MAX, and perhaps some of the other
limits. All of those cases (easily found with a grep through the texi files)
should be fixed.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list