delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/05/06:49:11

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to detect drives attached to a system
Date: Tue, 5 Oct 1999 09:46:39 +0200
Organization: NetVision Israel
Lines: 28
Message-ID: <Pine.SUN.3.91.991005094611.2899A-100000@is>
References: <7t993c$d8a$1 AT solomon DOT cs DOT rose-hulman DOT edu> <Pine DOT SUN DOT 3 DOT 91 DOT 991004103456 DOT 23739L-100000 AT is> <7tam6v$ist$1 AT solomon DOT cs DOT rose-hulman DOT edu>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 939109526 28937 199.203.121.2 (5 Oct 1999 07:45:26 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 5 Oct 1999 07:45:26 GMT
X-Sender: eliz AT is
In-Reply-To: <7tam6v$ist$1@solomon.cs.rose-hulman.edu>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 4 Oct 1999, Damian Yerrick wrote:

> > I think this code is dangerous: it will crash under some DPMI servers
> > (e.g. QDPMI)
> 
> What doesn't crash on QDPMI?

Emacs ;-)

> Even RHIDE crashed on QDPMI.

I don't use RHIDE, but everything else works for me under QDPMI, as
long as the programs don't generate Int 24h.  If they do, QDPMI
crashes them.  (It's in the FAQ, btw: see section 22.12.)

And I won't say "even RHIDE" because RHIDE actually uses some pretty
advanced functions for some of its functionality (like mouse and the
advanced screen support).

> > `getmntent' is portable to many Unix systems.
> 
> OT: But is it portable to Win32? Mac? Be? What is?

I have no idea, but I don't expect do find `getmntent' on Windows.

OTOH, AFAIK there's no other similar function that comes close to
being portable.  If you find one, please let us know.

- Raw text -


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