> 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?
Win32: MinGW ( gcc ) has it
Bcc 5.5 has it
MS VC++ 5 has notRegards mattia
