On Mon 01 Apr 2002 10:37, "H.Merijn Brand" <[EMAIL PROTECTED]> wrote:
> On Mon 01 Apr 2002 04:57, Mark-Jason Dominus <[EMAIL PROTECTED]> wrote:
> > 
> > Supposing that Fcntl and O_RDONLY are known to be available, how
> > likely is it that O_ACCMODE will also be available?  Are there any
> > platforms that have O_RDONLY but not O_ACCMODE?
> 
> Cygwin has it:
> 
> PC03:/usr/include 502 $ grep -r O_ACCMODE .
> ./mingw/fcntl.h:#define _O_ACCMODE      (_O_RDONLY|_O_WRONLY|_O_RDWR)
> ./mingw/fcntl.h:#define O_ACCMODE       _O_ACCMODE
> ./sys/fcntl.h:#define   O_ACCMODE       (O_RDONLY|O_WRONLY|O_RDWR)
> PC03:/usr/include 503 $
> 
> Cannot check HP-UX and AIX, systems down for Easter

You probably already found out, but

HP-UX 10.20     Has it defined as 0000003
HP-UX 11.00     Has it defined as 0000003
AIX 4.3.3.0     Has it defined as 3
AIX 4.2.1.0     Has it defined as 3

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.7.1 & 630 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
     WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/

Reply via email to