delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/28/14:00:24

Date: Mon, 28 Apr 2003 20:56:53 +0300
From: "Eli Zaretskii" <eliz AT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: morellov AT tin DOT it
Message-Id: <7458-Mon28Apr2003205653+0300-eliz@elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <3ead4f4b@shknews01> (message from Vincenzo Morello on Mon, 28
Apr 2003 17:56:48 +0200)
Subject: Re: Drive type under DOS djgpp
References: <3ead4f4b AT shknews01>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Mon, 28 Apr 2003 17:56:48 +0200
> From: Vincenzo Morello <morellov AT tin DOT it>
> 
> I'm wondering if there's a way to realize, using djgpp, that a given drive, say 
> F:,  is a CDROM, a removable disk or a local HD.

Call the library function `getmntent' and look at the `mnt_type'
member of the struct it returns.

- Raw text -


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