Mail Archives: djgpp/1998/03/13/02:30:40
Neil wrote:
>
> 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:\");...)
try
c:\>info libc alpha _dos_getdiskfree
--
----------------------------------------------------------------------
A. Sinan Unur
Department of Policy Analysis and Management, College of Human Ecology,
Cornell University, Ithaca, NY 14853, USA
mailto:sinan DOT unur AT cornell DOT edu
http://www.people.cornell.edu/pages/asu1/
- Raw text -