> Hi, I found a weird thing: I read man
> pages for lstat, and it requires <sys/stat.h>
> to be #include'ed. But, in <sys/stat.h>
> only stat() and fstat() are declared, lstat()
> is missing. I grep'ed all include files in
> /usr/include but to no avail. I also browsed
> sunsolve, and didn't find anything relevant?
> Any1 have an idea?
> Thanks a lot, will summarize.
Thanks to the following people, who pointed out that SunOS
cc, being a Kernighan-Richie rather than ANSI compiler, missing
some includes. So in my case, it was enough to declare
lstat() as external in my program, since lstat is defined
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:41 CDT