From: mauch AT uni-duisburg DOT de (Michael Mauch) Newsgroups: comp.os.msdos.djgpp Subject: Re: Trap I/O errors Date: Tue, 17 Jun 1997 00:37:18 +0200 Organization: Home, sweet home (via Gesamthochschule Duisburg) Lines: 15 Message-ID: <5o4f6g$q0d$1@news-hrz.uni-duisburg.de> References: <866459171 DOT 3090 AT dejanews DOT com> NNTP-Posting-Host: ppp64.uni-duisburg.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Mon, 16 Jun 1997 06:21:43 -0600, motzel AT free DOT polbox DOT pl wrote: > I have used {$I-} and IoResult in Turbo Pascal for I/O routines. > Is there in DJGPP anything like that ? Yes, you can trap I/O errors - have a look at the libc reference for errno, fopen, fgets etc for a start. Um, are you using C or C++? Please also consider getting a C or C++ text book from your next public library (hm, I'm almost sure that there are C/C++ tutorials on the internet, but I can't remember where - maybe someone in comp.lang.c or comp.lang.c++ knows). Regards... Michael