From: Nate Eldredge Newsgroups: comp.os.msdos.djgpp Subject: Re: Returning the amount of disk free space Date: 20 Jan 2000 12:47:11 -0800 Organization: InterWorld Communications Lines: 13 Message-ID: <83u2k8v5bk.fsf@mercury.st.hmc.edu> References: <867aa9$e0m$1 AT galaxy DOT us DOT dell DOT com> NNTP-Posting-Host: mercury.st.hmc.edu X-Trace: nntp1.interworld.net 948401338 7489 134.173.45.219 (20 Jan 2000 20:48:58 GMT) X-Complaints-To: usenet AT nntp1 DOT interworld DOT net NNTP-Posting-Date: 20 Jan 2000 20:48:58 GMT X-Newsreader: Gnus v5.7/Emacs 20.4 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Bryan Kemp" writes: > Anyone written a function that returns the toal number of bytes free > on a disk? I am writing a uility to fill hard drives and could > really use some help. Thanks, Bryan Kemp Look at the statfs function in the library. Then multiply free clusters by cluster size. -- Nate Eldredge neldredge AT hmc DOT edu