delorie.com/archives/browse.cgi | search |
From: | ams AT ludd DOT luth DOT se (Martin Str|mberg) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: file size |
Date: | 24 Jul 1999 07:59:30 GMT |
Organization: | University of Lulea, Sweden |
Message-ID: | <7nbrp2$am$2@news.luth.se> |
References: | <99072310052600 DOT 01111 AT dome DOT calderathin DOT com> <000b01bed541$a964d220$137336ce AT sandrajo> |
NNTP-Posting-Host: | queeg.ludd.luth.se |
X-Newsreader: | TIN [UNIX 1.3 950824BETA PL0] |
Lines: | 15 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Christopher Nelson (neverjaden AT yahoo DOT com) wrote: : size_t filesize; : : feek(thefile, 0, SEEK_END); ^^^^ fseek() I presume. : ftell(thefile); [Klippa, klapp, kluppit.] Alas, this won't work when the file is bigger than 2^31. Does anybody have an idea of an interrput that gives correct results for such files? And, yes, I have been all over the Ralph Brown's interrupt list, without finding any. That's why I'm asking.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |