From: Martin Stromberg Message-Id: <200101260749.IAA04930@lws256.lu.erisoft.se> Subject: Re: lfilelen patch To: djgpp-workers AT delorie DOT com Date: Fri, 26 Jan 2001 08:49:59 +0100 (MET) In-Reply-To: <3A70BB10.7477.23FC70@localhost> from "Mark E." at Jan 25, 2001 11:47:28 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Precedence: bulk > *** /dev/null Thu Jan 25 23:35:14 2001 > --- src/libc/posix/sys/stat/lfilelen.c Thu Jan 25 20:23:30 2001 > *************** > *** 0 **** > --- 1,89 ---- > + /* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */ > + /* This is file LFILELEN.C */ > + /* > + * Copyright (c) 1994 Eli Zaretskii > + * > + * This software may be used freely so long as this copyright notice is > + * left intact. There is no warranty on this software. > + * > + */ > + > + #include > + #include > + #include > + #include > + #include > + #include > + #include > + > + long long __lfilelength (int); > + > + long long > + __lfilelength(int fhandle) What is the prototype above for? The function is defined immediately after... > *** /dev/null Thu Jan 25 23:35:17 2001 > --- src/libc/posix/sys/stat/lfilelen.txh Thu Jan 25 23:35:12 2001 > *************** > *** 0 **** > --- 1,35 ---- > + @node lfilelength, io > + @subheading Syntax > + > + @example > + #include > + > + long long lfilelength(int fhandle); > + @end example Now I'm really confused! Is it __lfilelength() or lfilelength()? Right, MartinS