delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/25/04:41:13

Date: Sun, 25 Jul 1999 11:38:34 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Alex Mendes da Costa <mendac AT fl DOT net DOT au>
cc: djgpp AT delorie DOT com
Subject: Re: Help With Drives
In-Reply-To: <3799373A.649504ED@yahoo.com>
Message-ID: <Pine.SUN.3.91.990725113815.27488W-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 24 Jul 1999, Alex Mendes da Costa wrote:

> Is there any way to find out what drives are installed on that computer?
> eg on mine there is A: (floppy), C: (Hard Disk), and G: (CD ROM)
> but how can I find that out with C or C++?

One way would be to use library function `getmntent'.  Look it up in
the library reference.

- Raw text -


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