What are the proper uses of MAXNAMLEN, NAME_MAX, and FILENAME_MAX?
Do they represent filenames with or without paths? Do they include
the terminating null or not? The source seems inconsistent:
[EMAIL PROTECTED]/usr/src] egrep -R '(MAXNAMLEN|NAME_MAX) ?\+ ?1' .
./bin/csh/file.c:Char
On Fri, 6 Jan 2006, Ray Lai wrote:
What are the proper uses of MAXNAMLEN, NAME_MAX, and FILENAME_MAX?
Do they represent filenames with or without paths? Do they include
the terminating null or not? The source seems inconsistent:
Posix says: {NAME_MAX} Maximum number of bytes in a filename
On Sat, Jan 07, 2006 at 12:11:32AM +0100, Otto Moerbeek wrote:
On Fri, 6 Jan 2006, Ray Lai wrote:
What are the proper uses of MAXNAMLEN, NAME_MAX, and FILENAME_MAX?
Do they represent filenames with or without paths? Do they include
the terminating null or not? The source seems
3 matches
Mail list logo