On 6/2/2009 9:05 AM, Peter Breitenlohner wrote: > They are for cygwin-1.7 so I couldn't check all details. On our cygwin-1.5 > /usr/include/fcntl.h defines > _O_BINARY -> O_BINARY -> _FBINARY -> 0x10000 > _O_TEXT -> O_TEXT -> _FTEXT -> 0x20000 It's the same in cygwin-1.7 (but the defines are now in /usr/include/sys/_default_fcntl.h). Ken