Mail Archives: djgpp/1998/03/12/11:30:39
From: | "Neil" <reply_to_me AT the DOT newsgroup>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | DJGPP newbie
|
Date: | Thu, 12 Mar 1998 16:25:03 -0000
|
Organization: | Fredco
|
Lines: | 12
|
Message-ID: | <6e921s$dcr$1@flex.news.pipex.net>
|
NNTP-Posting-Host: | gatekeeper.littlewoods-stores.co.uk
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I am used to writing C programs on UNIX. Now I need to write a noddy C
program for DOS that outputs the amount of free disk space.
I did write a version of "df" on UNIX, is there an equivalent of the statfs
structure using DJGPP, or alternatively what's the easiest was of finding
free disk space (apart from cutting up the output of system("dir c:\");...)
Thanks in advance...
Neil
- Raw text -