www.delorie.com/archives/browse.cgi | search |
From: | "Thomas Harte" <T DOT Harte AT btinternet DOT com DOT KILL_PART> |
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: | <YKgk5.4683$aK5 DOT 77966 AT news1 DOT online DOT no> |
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 <sys/stat.h> to get file statistics - including size, date of creation, etc, etc - but the file doesn't have to be open. -Thomas
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |