delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/09/05:50:40

Date: Thu, 9 Oct 1997 11:49:10 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Dim Zegebart <zager AT post DOT comstar DOT ru>
cc: DJGPP Mail List <djgpp AT delorie DOT com>
Subject: Re: Logical disks list.
In-Reply-To: <343BBED3.6425@post.comstar.ru>
Message-ID: <Pine.SUN.3.91.971009114848.1612B-100000@is>
MIME-Version: 1.0

On Wed, 8 Oct 1997, Dim Zegebart wrote:

> How can I get the list of disks letters wich is in FAT (including A: B:)
> or mapped to some network shares ?

Use library function `getmntent'.  It reports all the drives,
including local, CD-ROM, RAM disks, and networked drives.  It does NOT
report an empty or not-ready drive, so an empty floppy or CD drive is
skipped.

- Raw text -


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