cvs commit: src/lib/libc/sys pathconf.2

Garrett Wollman wollman at
Wed Jul 7 18:35:10 PDT 2004

<<On Wed, 7 Jul 2004 16:34:55 -0700, Alfred Perlstein <alfred at> said:

> if _PC_NO_TRUNC returns 1 then an application should assume that
> names longer than 14 characters (_POSIX_NAME_MAX) are truncated???

No.  Under obsolete versions of POSIX, if {NO_TRUNC} is nonzero, an
application should assume that pathname components longer than
{NAME_MAX} are not truncated, but instead result in the [ENAMETOOLONG]
error.  Under the current version of POSIX, [ENAMETOOLONG] is
mandatory for all systems; this was an obsolete option to allow for
the behavior of the V7 filesystem, which has been phased out.


More information about the cvs-src mailing list