Mail Archives: cygwin/1999/06/18/10:09:24
Takayuki Tamura a écrit :
> "cat" uses read(), so it's working.
>
> Now, give us more detailed information on how you built the program.
Takayuki,
I'm not sure I 'll give useful info, but here is how I did:
I wrote a test_cygwin.c file with my favorite text editor, and compiled
it under bash-2.02.
I used GNU gcc to compile it (cc src/test_cygwin.c). I got this compiler
from the
latest "full" tool package proposed at all the Cygwin ftp mirror sites.
I then ran the resulting a.exe under a DOS shell.
The strangest is that, after I have opened the file, I can write() to it
successfully (if I use the O_RDWR flag), but not read().
Cheers,
Arnaud
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -