[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Query: Regarding max filename length



Kousik Bera <kousik.bera@xxxxxxxxxxxx> writes:

> Hi All, I am forwarding a query from a friend, who is working in OSS
> dev.  In the file /usr/include/posix1_lim.h the filename limit is
> specified as 14.
> #define _POSIX_NAME_MAX 14

If you use filenames greater than 14 chars, then your program may not
work on some POSIX compliant system (probably WinNT). But it works on
Linux. The Linux specific limits are in /usr/include/linux/limits.h

	-Arun

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------