home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.27 / text0001.txt < prev    next >
Encoding:
Text File  |  1992-05-20  |  988 b   |  28 lines

  1. Submitted-by: WULKAN@TOROLAB6.VNET.IBM.COM (Mike Wulkan)
  2.  
  3. I have a question as to the intent of the following statement in section
  4. 3.3.1.3 of 1003.1:
  5.  
  6.   521 (c) The behavior of a process is undefined after it returns normally
  7.   522     from a signal-catching function for a SIGFPE, SIGILL, or SIGSEGV
  8.   523     signal that was not generated by the kill() function or the raise()
  9.   524     function defined by the C Standard {2}.
  10.  
  11. whereas the ANSI C Standard states in section 4.7.1.1:
  12.  
  13.   ...  If func executes a return statement and the value of sig was
  14.   SIGFPE or any other implementation-defined value corresponding to a
  15.   computational exception, the behavior is undefined. ...
  16.  
  17. Is the intent of Posix to "limit" the scope of "other
  18. implementation-defined value" to exactly SIGFPE, SIGILL and SIGSEGV?
  19.  
  20. Or is Posix simply extending the list to include SIGILL and SIGSEGV
  21. while still allowing for other implementation-defined values?
  22.  
  23. Mike Wulkan
  24.  
  25.  
  26. Volume-Number: Volume 27, Number 3
  27.  
  28.