home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15563 < prev    next >
Encoding:
Text File  |  1992-11-09  |  2.2 KB  |  55 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!sun-barr!decwrl!concert!sas!mozart.unx.sas.com!walker
  3. From: walker@twix.unx.sas.com (Doug Walker)
  4. Subject: Re: SAS/C 6 ctrl-c killer?
  5. Originator: walker@twix.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <BxGBt5.8rL@unx.sas.com>
  8. Date: Mon, 9 Nov 1992 13:51:05 GMT
  9. References:  <Bob_Rye.05m0@guru.apana.org.au>
  10. Nntp-Posting-Host: twix.unx.sas.com
  11. Organization: SAS Institute Inc.
  12. Lines: 41
  13.  
  14.  
  15. In article <Bob_Rye.05m0@guru.apana.org.au>, Bob_Rye@guru.apana.org.au (Bob Rye) writes:
  16. |> 
  17. |> Hello all, I have just converted my source file over to SAS/C version 6,
  18. |> and have finally got it compiling without error! The problem is that the
  19. |> ctrl-c break checking is still working even though I have used:
  20. |> 
  21. |> int CXBRK(void)                                                            
  22. |> {                                                                          
  23. |> return(0);
  24. |> }
  25. |> 
  26. |> and chkabort() in the same way. How do I stop SAS/C 6 from reading ctrl-c
  27. |> breaks? Thanks in advance!
  28. |> 
  29.  
  30. Look up chkabort() in the manual.  The name has changed to __chkabort(),
  31. you need to use the new name.  (Note TWO underscores).
  32.  
  33. The name for CXBRK has changed to _CXBRK.  (ONE underscore).  However,
  34. you do not need to replace _CXBRK.  Replacing __chkabort will remove
  35. all references to it.  This was also true in V5.x.
  36.  
  37. The name changes were made to bring the library into conformance with
  38. the ANSI specification, which states that the library functions that
  39. are not mandated by the standard must begin with either two underscores
  40. or one underscore and a capital letter.  This is so you can safely
  41. code all names that don't fit this criterion without having to worry
  42. about whether you are accidentally running into a predefined name on
  43. some other compiler someplace.
  44.  
  45. |> Bob!
  46. -- 
  47.   *****
  48. =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
  49.  *|. o.| ||                                          1200/2400/9600 Dual
  50.   | o  |//     For all you do, this bug's for you!
  51.   ====== 
  52. usenet: walker@unx.sas.com                            bix: djwalker 
  53. Any opinions expressed are mine, not those of SAS Institute, Inc.
  54.  
  55.