> 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

Thanks for the information.  It turns out some Win32 systems don't
have it at all, so I have to avoid it.

Instead, I'm doing:

        use Fcntl 'O_RDONLY', 'O_RDWR', 'O_WRONLY';
        sub O_ACCMODE () { O_RDONLY | O_WRONLY | O_RDWR }

which I think should work everywhere that defines O_((RD|WR)ONLY|RDWR),
whatever their values.



Reply via email to