From: Eli Zaretskii 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: References: <7t993c$d8a$1 AT solomon DOT cs DOT rose-hulman DOT edu> <7tam6v$ist$1 AT solomon DOT cs DOT rose-hulman DOT edu> NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.