delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/03/11:37:12

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200101031636.RAA03432@father.ludd.luth.se>
Subject: Minor fcntl() doc change
To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
Date: Wed, 3 Jan 2001 17:36:59 +0100 (MET)
X-Mailer: ELM [version 2.4ME+ PL54 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019