delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/23/03:24:21

Message-Id: <199911230712.JAA31891@www.Foo.COM>
From: "S. M. Halloran" <mitch AT duzen DOT com DOT tr>
Organization: User RFC 822- and 1123-compliant
To: Mohamed Saad <bazramit AT yahoo DOT com>
Date: Tue, 23 Nov 1999 09:18:00 +0200
MIME-Version: 1.0
Subject: Re: Just a VERY small question (how to get file size)
CC: djgpp AT delorie DOT com
In-reply-to: <19991122163333.6819.rocketmail@web119.yahoomail.com>
X-mailer: Pegasus Mail for Win32 (v3.12)
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 22 Nov 99, Mohamed Saad was found to have commented thusly:

> Hello all,
>    Just a very small question this time...
>    is there a function to get the size of a file??

Have a look at the stat() and fstat() functions, which will be a 
relatively more portable solution for you.

Mitch Halloran
Research (Bio)chemist
Duzen Laboratories Group
Ankara       TURKEY

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019