delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/26/05:39:27

From: Martin Stromberg <eplmst AT lu DOT erisoft DOT se>
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
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

> *** /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 <eliz AT is DOT elta DOT co DOT il>
> +  *
> +  * This software may be used freely so long as this copyright notice is
> +  * left intact.  There is no warranty on this software.
> +  *
> +  */
> + 
> + #include <libc/stubs.h>
> + #include <errno.h>
> + #include <dpmi.h>
> + #include <go32.h>
> + #include <libc/dosio.h>
> + #include <sys/farptr.h>
> + #include <dos.h>
> + 
> + 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 <io.h>
> + 
> + long long lfilelength(int fhandle);
> + @end example

Now I'm really confused! Is it __lfilelength() or lfilelength()?


Right,

						MartinS

- Raw text -


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