On Fri, 27 Apr 2001, Henry House wrote:

> The header file linux/limits.h defines PATH_MAX, which is alegedly the limit
> on path lengths. Is there a portable way to get the maximum path length?

I think the closest you can get is:

#include <stdio.h>
char fname[ FILENAME_MAX ];

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<[EMAIL PROTECTED]>        Basics: ##.#.       ##.#.  Live Go...
Work:<[EMAIL PROTECTED]>              Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
---------------------------------------------------------------------------

Reply via email to