From: "Neil" 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 Precedence: bulk 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