[Gllug] Off Topic: C File Descriptors

Tethys sta296 at astradyne.co.uk
Sun Mar 9 23:55:45 UTC 2008


--------

salsaman at xs4all.nl writes:

>> /include/linux/limits.h defines the max path length as 4096
>
>Hmmm...it must have increased since I last looked...:-/

...which is exactly why you should be use PATH_MAX rather than
a hardcoded number!

Tet
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list