delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/20/00:24:22

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Trap I/O errors
Date: Mon, 16 Jun 1997 09:35:54 -0700
Organization: Alcyone Systems
Lines: 16
Message-ID: <33A56B6A.7C1078FA@alcyone.com>
References: <866459171 DOT 3090 AT dejanews DOT com>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

motzel AT free DOT polbox DOT pl wrote:

> I need help!
> I have used {$I-} and IoResult in Turbo Pascal for I/O routines.
> Is there in DJGPP anything like that ?
> ps. Sorry for my poor english.

Yes; check the return values of the stream I/O functions you're calling.

-- 
       Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com
                     Alcyone Systems /   web / http://www.alcyone.com/max/
San Jose, California, United States /  icbm / 37 20 07 N  121 53 38 W
                                   \
     "Covenants without the sword / are but words."
                                 / Camden

- Raw text -


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