www.delorie.com/archives/browse.cgi | search |
From: | Peter Danielsson <e96pd AT efd DOT lth DOT se> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Just a VERY small question (how to get file size) |
Date: | Tue, 23 Nov 1999 01:03:39 +0100 |
Organization: | Student |
Lines: | 16 |
Message-ID: | <3839D9DB.AE957591@efd.lth.se> |
References: | <19991122163333 DOT 6819 DOT rocketmail AT web119 DOT yahoomail DOT com> |
NNTP-Posting-Host: | dialin-45-73.student.lu.se |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 4.6 [en] (Win98; I) |
X-Accept-Language: | en |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
the function long filelength(int filehandler) in <io.h> should do it, but you must of course open() the file. Mohamed Saad wrote: > Hello all, > Just a very small question this time... > is there a function to get the size of a file?? > thanx! > Urs forever, > Mohamed Saad El Dawy > __________________________________________________ > Do You Yahoo!? > Bid and sell for free at http://auctions.yahoo.com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |