Re: sys/systat.h and S_IFMT definition

2003-07-09 Thread Vladimir G. Ivanovic
> "mt" == Miloslav Trmac <[EMAIL PROTECTED]> writes: mt> On Tue, Jul 08, 2003 at 08:32:35AM -0700, Vladimir G. Ivanovic wrote: >> Isn't S_IFMT defined as part of POSIX and not part of the XSI extensions? >> >> http://www.opengroup.org/onlinepubs/007904975/basedefs/sys/stat.h.h

Re: sys/systat.h and S_IFMT definition

2003-07-08 Thread Miloslav Trmac
On Tue, Jul 08, 2003 at 08:32:35AM -0700, Vladimir G. Ivanovic wrote: > Isn't S_IFMT defined as part of POSIX and not part of the XSI extensions? > >http://www.opengroup.org/onlinepubs/007904975/basedefs/sys/stat.h.html See the PDF version. It surely "looks" more official, although in theory b

sys/systat.h and S_IFMT definition

2003-07-08 Thread Vladimir G. Ivanovic
I have a program that includes: #include but gives me the follow errors: ls2.c: In function `filemode': ls2.c:91: `S_IFMT' undeclared (first use in this function) ls2.c:91: (Each undeclared identifier is reported only once ls2.c:91: for each function it appears in.) ls2.c: