www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/16/23:06:40

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: File sizes...
Date: Sun, 16 Feb 1997 21:05:38 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 13
Message-ID: <3307E722.227A@cs.com>
References: <Pine DOT SOL DOT 3 DOT 94 DOT 970216151018 DOT 22732B-100000 AT taz>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp106.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Mr. Fuju wrote:
> 
> If I use open () to open an existing file, how do I determine the
> filesize?  I am not attaching the file to a stream.  Here is my code:

Look up filelength() in the libc docs.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I |        fighteer AT cs DOT com          |
| Descent 2: The Infinite Abyss - The greatest Internet game of all |
| time just got better!  This time, you're going all the way down...|
---------------------------------------------------------------------

- Raw text -


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