Mail Archives: djgpp-workers/2001/01/03/11:37:12
fcntl.txi talks about "O_READONLY". I think it means "O_RDONLY".
Right?
Right,
MartinS
Pasted patch, might not apply cleanly:
Index: src/libc/posix/fcntl/fcntl.txh
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/posix/fcntl/fcntl.txh,v
retrieving revision 1.6
diff -p -u -r1.6 fcntl.txh
--- fcntl.txh 2001/01/01 17:52:04 1.6
+++ fcntl.txh 2001/01/03 16:30:19
@@ -48,7 +48,7 @@ file.
@item F_GETFL
Get the open mode and status flags associated with the handle @var{fd}.
The flags are those supported by @code{open} and @code{creat} functions,
-like @code{O_READONLY}, @code{O_APPEND}, etc. Currently, this command
+like @code{O_RDONLY}, @code{O_APPEND}, etc. Currently, this command
always returns zero, with no flags set.
@item F_SETFL
- Raw text -