delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/01/31/08:46:54

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <199901311345.OAA09356@father.ludd.luth.se>
Subject: Minor doc snafu
To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
Date: Sun, 31 Jan 1999 14:45:26 +0100 (MET)
X-Mailer: ELM [version 2.4ME+ PL15 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

Here's a little patch that correct a minor document problem.


Scooter, No Time to Chill,

							MartinS

diff -ruN src.org.2/libc/ansi/stdio/fseek.txh src/libc/ansi/stdio/fseek.txh
--- src.org.2/libc/ansi/stdio/fseek.txh	Sun Sep 27 15:20:44 1998
+++ src/libc/ansi/stdio/fseek.txh	Sat Jan 30 12:55:10 1999
@@ -30,7 +30,7 @@
 @end table
 
 @emph{Warning!} The ANSI standard only allows values of zero for
-@var{offset} when @var{whence} is not @code{SEEK_SET} and the file has
+@var{offset} when @var{mode} is not @code{SEEK_SET} and the file has
 been opened as a text file.  Although this restriction is not enforced,
 beware that there is not a one-to-one correspondence between file
 characters and text characters under MS-DOS, so some @code{fseek}
diff -ruN src.org.2/libc/posix/unistd/lseek.txh src/libc/posix/unistd/lseek.txh
--- src.org.2/libc/posix/unistd/lseek.txh	Sun Sep 27 15:22:26 1998
+++ src/libc/posix/unistd/lseek.txh	Sat Jan 30 12:56:14 1999
@@ -10,7 +10,7 @@
 @subheading Description
 
 This function moves the file pointer for @var{fd} according to
-@var{mode}:
+@var{whence}:
 
 @table @code
 

- Raw text -


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