delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/01/19/16:23:55

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200301192123.h0JLNiI25176@brother.ludd.luth.se>
Subject: Re: lseek() calling llseek()
To: djgpp-workers AT delorie DOT com
Date: Sun, 19 Jan 2003 22:23:44 +0100 (MET)
In-Reply-To: <Pine.SUN.3.91.1030119162219.14388B-100000@is> from "Eli Zaretskii" at Jan 19, 2003 04:22:49 PM
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to Eli Zaretskii:
> > That means I'll change almost every line in that file
> 
> That's possibly true.

Ok, if the first mention of the function isn't supposed to be marked
with @code ("A file lseek handler" below) then I don't have to change
every entry.


Right,

						MartinS

Index: djgpp/src/libc/fsext/fsext.txh
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/fsext/fsext.txh,v
retrieving revision 1.15
diff -p -u -r1.15 fsext.txh
--- djgpp/src/libc/fsext/fsext.txh      8 Jul 2002 12:55:42 -0000       1.15
+++ djgpp/src/libc/fsext/fsext.txh      19 Jan 2003 21:18:24 -0000
@@ -98,7 +98,10 @@ A file ioctl handler (@pxref{ioctl (Gene
 
 @item __FSEXT_lseek
 
-A file lseek handler (@pxref{lseek}).
+A file lseek handler (@pxref{lseek}).  Here for backwards
+compatibility.  Use @code{__FSEXT_llseek} instead.  If you have a
+@code{__FSEXT_llseek} handler you don't need a @code{__FSEXT_lseek}
+handler as @code{lseek} calls @code{llseek} internally.
 
 @item __FSEXT_llseek
 


- Raw text -


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