home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / c / 17033 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.0 KB  |  22 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!honte.uleth.ca!xi.uleth.ca!west
  3. From: west@xi.uleth.ca (Greg West)
  4. Subject: abort, retry, fail ...
  5. Message-ID: <west.722532317@honte>
  6. Sender: news@honte.uleth.ca (News System)
  7. Organization: University of Lethbridge
  8. Date: 23 Nov 92 15:25:17 GMT
  9. Lines: 11
  10.  
  11.     I am using Borland C++ (Using the C part of the compiler).  I am doing some
  12. data logging with the machine as well as controlling.  I am writing to floppy
  13. disk but if there is a failure in writing to floppy the entire program halts. 
  14. Most C functions just return a failure on failure rather than stopping the
  15. program.  How do I write an interrupt handler to accomplish this.  If anyone
  16. knows some good books on this subject ... or has some code fragments of how to
  17. do this then please forward this information to me at:
  18.                  west@alpha.uleth.ca
  19. Thankyou in advance for the information.
  20.  
  21.                         Greg West
  22.