From: Chip Salzenberg (chip@tct.com)
Date: 08/03/92


From: chip@tct.com (Chip Salzenberg)
Subject: Re: Function that returns max filename length
Date: 3 Aug 1992 18:10:44 GMT

According to jwinstea@jarthur.claremont.edu (Jim Winstead Jr.):
>I don't know of any system that will give you the max filename length
>via a system call.

POSIX defines

     pathconf("/directory/name", _PC_NAME_MAX)

to return exactly that. I don't have Linux, though, so I don't know
if pathconf() is implemented.

-- 
Chip Salzenberg at Teltronics/TCT  <chip@tct.com>, <73717.366@compuserve.com>
   "Do Rush place weird subliminal backmasked messages in their songs to
 compel unwilling geeks to commit evil .sig atrocities?"  -- Dean Engelhardt