10-16-04 01:46 AM
"Neil Woods" <cnw+usenet@pobox.com> wrote in message
news:87acuxumlv.fsf@phun.phasmic.org...
> On Thu, Oct 07 2004, Seth H. Holmes wrote:
>
> The full pathname. The maximum value for the number of characters in a
> file name is 255.
Hmmm, so it just means that there can only be maximum of 16 levels. I don't
think so, the value of 4096 is what that is @returned@ by path_alloc or
pathconf(), but that does not mean that 16 levels is all that is permitted.
You can obviously exceed this limit though you have to be careful when
calling functions like getcwd(), reallocs and stuff like that until you get
a hit. Advanced Unix programming by Richard Stevens has an example of this
one.
--
Imanpreet Singh Arora
Zmoc.Zliamg@Zteerpnami
Remove Z to mail
"Things may come to those who wait, but only the things left by those who
hustle."
Abraham Lincoln
[ Post a follow-up to this message ]
|