Mail Archives: djgpp/1996/01/21/04:37:02
On Fri, 19 Jan 1996, A.Appleyard wrote:
> I wrote a big Gnu C++ program (an emacs-type text editor). I found today that
> various DOS interrupts that are supposed to make specific fault returns when I
> try to access a nonexistent drive, when Novell Netware is active act very odd
> and cause aborts in my program; and I have to run with Novell active most of
> the time. Luckily I have managed to cobble matters together so that a
> nonexistent drive looks to a user of my program like an empty drive that can't
> be written to. But this is unsatisfactory. Please how in Gnu C++ can I find
> easily at run time for(i='A';i<='Z';i++) whether drive i exists? And I don't
In v2.0, you can call `getmntent' library function which does just that.
- Raw text -