delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/04/09:17:27

Date: Mon, 4 Jan 1999 16:17:30 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Graeme Fenwick <gfenwick AT primex DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Documentation on Non-ANSI features, and Allegro problem!
In-Reply-To: <3690c0f6.0@mercury.nildram.co.uk>
Message-ID: <Pine.SUN.3.91.990104161530.9292B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Mon, 4 Jan 1999, Graeme Fenwick wrote:

> As far as I can tell, an obvious way round this would be to check there's
> enough room on the disk first, but using ANSI code to do this would probably
> require some inelegantly contrived solution and still end up being
> nonportable.

Use the function `statfs' from the DJGPP library.

> There surely has to be a non-ANSI function to do this, somewhere in DJGPP's
> library, but unfortunately I can't find any documentation in this area,

`statfs' is of course documented in libc.inf.

> except possibly an Info file, which I can't get to load into the reader
> (that's another story...). Any pointers?

You will be quite lost in DJGPP without the on-line docs.  I suggest to 
post the description of the problems you have with Info, and ask people 
to help you set it up.

- Raw text -


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