delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/30/02:16:25

From: firewind <firewind AT metroid DOT dyn DOT ml DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP! How do i return the size of a file in DJGPP C
Date: 30 Oct 1997 01:09:33 GMT
Organization: Netcom
Lines: 12
Message-ID: <638mod$kh7@dfw-ixnews12.ix.netcom.com>
References: <637u61$qqb$2 AT madrid DOT visi DOT net>
NNTP-Posting-Host: elp-tx1-24.ix.netcom.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

kris Mills <kdawghu AT hotmail DOT com> wrote:
> I was woundering how you return the size of a file in DJGPP C.

stat() for any file you have a filename for, fstat() for any already-opened
file.

-- 
[-                               firewind                                   -]
[-   email: firewind AT metroid DOT dyn DOT ml DOT org (home), firewind AT aurdev DOT com (work)  -]
[-          "You're just jealous because the voices talk to -me-."          -]
[-                   Have a good day, and enjoy your C.		            -]
[-          (on a crusade of grumpiness where grumpiness is due)            -]

- Raw text -


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