* Szabolcs Nagy <n...@port70.net> [2013-07-18 18:51:09 +0200]: > PATH_MAX is posix and should be defined in limits.h > FILENAME_MAX is iso c and is defined in stdio.h (usually PATH_MAX-1)
sorry i was wrong about the -1 FILENAME_MAX is buffer size, not string length