Message-ID: <000b01bed541$a964d220$137336ce@sandrajo> From: "Christopher Nelson" To: References: <99072310052600 DOT 01111 AT dome DOT calderathin DOT com> Subject: Re: file size Date: Fri, 23 Jul 1999 13:28:57 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Reply-To: djgpp AT delorie DOT com > Does anyone know how to get the size of a file in DJGPP? > size_t filesize; feek(thefile, 0, SEEK_END); ftell(thefile); otherwise you'll have to use fstat or stat. -={C}=-