delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/12/14:00:25

Message-Id: <m0yD7Zz-000S2iC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: djgpp AT delorie DOT com
Date: Thu, 12 Mar 1998 16:01:07 +0000
MIME-Version: 1.0
Subject: Re: DJGPP newbie
In-reply-to: <6e921s$dcr$1@flex.news.pipex.net>

"Neil" <reply_to_me AT the DOT newsgroup> 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:\");...)

df was ported to djgpp, is in v2gnu/fil316s.zip.

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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