[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SAGE] wither NAME_MAX?



Now I'll be the first to admit that Perl programming has really caused
my C language abilities to atrophy, but I'm perplexed...

I've recently been trying to compile a small C program on my Solaris 8
system which uses the (I thought) standard NAME_MAX constant as the
maximum number of chars in a file name (directory entry).  I'm including
both limits.h and unistd.h but getting an undefined symbol error during
compilation.  I'm using gcc v3.2.

Did I miss a memo from a POSIX committee or something?  Can somebody 
provide insight on what's going on?  The same code compiles fine on
other Unix systems I've tried.

-- 
Hal Pomeranz, Founder/CEO       Deer Run Associates       hal@deer-run.com
     Network Connectivity and Security, Systems Management, Training