[RFD]: fcntl call substituting `setmode'
Corinna Vinschen
corinna@vinschen.de
Tue May 16 13:27:00 GMT 2000
Corinna Vinschen wrote:
>
> Hi all,
>
> I'm just using the `setmode' function and I wonder
> if it wouldn't be a nice thing to have some sort of
> fcntl call for that, eg.
>
> fcntl(fd, F_SETMODE, O_TEXT);
> [...]
Perfect timing!
I just got a segmentation violation in `ash' when calling
`setmode'. In gdb I could see the reason: ash already has
an own function called `setmode'. :-}
Corinna
More information about the Cygwin-developers
mailing list