From: "Thomas Harte" Newsgroups: comp.os.msdos.djgpp Subject: Re: return file length... Date: Wed, 9 Aug 2000 20:19:38 +0100 Organization: BT Internet Lines: 9 Message-ID: <8msauv$8jm$1@uranium.btinternet.com> References: NNTP-Posting-Host: host62-7-4-9.btinternet.com X-Newsreader: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >How can you get the length of a file opened using "fopen" ??? You can use 'stat' in to get file statistics - including size, date of creation, etc, etc - but the file doesn't have to be open. -Thomas