From: "John M. Aldrich" 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: Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp106.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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...| ---------------------------------------------------------------------