home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / msdos / programm / 8076 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.6 KB

  1. Xref: sparky comp.os.msdos.programmer:8076 news.answers:2263
  2. Newsgroups: comp.os.msdos.programmer,news.answers
  3. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ncoast!brown
  4. From: brown@NCoast.ORG (Stan Brown)
  5. Subject: comp.os.msdos.programmer FAQ diff 3 of 4
  6. Expires: Wed, 19 Aug 1992 15:54:22 GMT
  7. Organization: Oak Road Systems, Cleveland Ohio USA
  8. Date: Sat, 25 Jul 1992 15:54:21 GMT
  9. Approved: news-answers-request@MIT.Edu
  10. Message-ID: <1992Jul25.155421.6377@NCoast.ORG>
  11. Followup-To: comp.os.msdos.programmer
  12. References: <1992Jul25.154838.5389@NCoast.ORG>
  13. Lines: 27
  14.  
  15. Archive-name: msdos-programmer-faq/diff3
  16. Last-modified: 21 July 1992
  17.  
  18.  
  19. Please see part 1 for explanations.
  20.  
  21. - 12>Last-modified: 25 June 1992
  22. + 12>Last-modified: 19 July 1992
  23.  
  24. + 20>            Copyright (C) 1992  Stan Brown, Oak Road Systems
  25.  
  26. -113>    only DOS (as far as I know) uses the backslash in directory paths.
  27. +115>    only DOS (and Atari ST/TT running TOS, I'm told) uses the backslash
  28. +116>    in directory paths.
  29.  
  30. +300>    A third approach is to bypass DOS functions entirely and use the
  31. +301>    BIOS printer functions at INT 17.  If you also fprintf(stdprn,...)
  32. +302>    in the same program, you'll need to use fflush( ) to synchronize
  33. +303>    fprintf( )'s buffered output with the BIOS's unbuffered.
  34.  
  35. -493>    doesn't, you can use INT 21 function 4D (get return code).
  36. +500>    doesn't, you can use INT 21 function 4D (get return code).  By the
  37. +501>    way, this will tell you the child's exit code and the manner of its
  38. +502>    ending (normal, Ctrl-C, critical error, or TSR).
  39.  
  40. -- 
  41. Stan Brown, Oak Road Systems                      brown@Ncoast.ORG
  42.