From: "Marp" Newsgroups: comp.os.msdos.djgpp Subject: Re: return file length... Date: Wed, 9 Aug 2000 14:21:29 -0400 Organization: MindSpring Enterprises Lines: 15 Message-ID: <8ms7eu$tuq$1@slb2.atl.mindspring.net> References: NNTP-Posting-Host: 04.30.99.82 X-Server-Date: 9 Aug 2000 18:21:18 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com a = filelength(fileno(b)); where a is a variable of type "long" and b is the pointer to type "FILE" that you want the file size for. The file must already be open. Marp "Vermin" wrote in message news:YKgk5.4683$aK5 DOT 77966 AT news1 DOT online DOT no... > How can you get the length of a file opened using "fopen" ??? > >