delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/09/20/16:20:04

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200009201957.VAA06550@father.ludd.luth.se>
Subject: append and wc204.txi patch
To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
Date: Wed, 20 Sep 2000 21:57:09 +0200 (MET DST)
X-Mailer: ELM [version 2.4ME+ PL54 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

Here is the current status of wc204.txi regarding append.
I like some comments. Especially the question in the patch.


Right,

						MartinS

diff -p -u -r1.23 wc204.txi
--- wc204.txi   2000/08/26 18:44:06     1.23
+++ wc204.txi   2000/09/20 19:22:20
@@ -119,3 +119,29 @@ A subtle bug was corrected in function @
 @code{syms_init} from @file{libdbg.a} to read and sort the symbols from
 a @sc{coff} image.  As a result, the @code{symify} utility should no
 longer crash in rare cases, especially when invoked on large programs.
+
+@findex _creat AT r{, append mode}
+@findex _creatnew AT r{, append mode}
+@findex _open AT r{, append mode}
+The functions @code{_creat}, @code{_creatnew} and @code{_open} improved
+to handle the append flag (@code{O_APPEND}) properly.
+
+@findex fopen AT r{, append mode}
+@findex freopen AT r{, append mode}
+The functions @code{fopen} and @code{freopen} improved to handle the
+append mode properly.
+
+@findex fputc AT r{, append mode}
+@c fputc really changed by changing undocumented inline __putc() from
+@c header file file,h. How to document? Ok with the line above?
+@findex fprintf AT r{, append mode}
+@findex fwrite AT r{, append mode}
+@findex write AT r{, append mode}
+The functions @code{fputc}, @code{fprintf}, @code{fwrite} and
+@code{write} always seek to end of file if the file has been opened in
+append mode.
+
+@cindex libc/dosio DOT h AT r{, append mode}
+Type of @code{__file_handle_modes} extended to be able to hold the
+O_APPEND flag.
+

- Raw text -


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