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

  1. Submitted-by: karish@mindcraft.com (Chuck Karish)
  2.  
  3. In article <1992Feb22.073722.18969@uunet.uu.net> WULKAN@TOROLAB6.VNET.IBM.COM
  4. (Mike Wulkan) writes:
  5. >Submitted-by: WULKAN@TOROLAB6.VNET.IBM.COM (Mike Wulkan)
  6. >I have a question as to the intent of the following statement in section
  7. >3.3.1.3 of 1003.1:
  8. >
  9. >  521 (c) The behavior of a process is undefined after it returns normally
  10. >  522     from a signal-catching function for a SIGFPE, SIGILL, or SIGSEGV
  11. >  523     signal that was not generated by the kill() function or the raise()
  12. >  524     function defined by the C Standard {2}.
  13. >
  14. >Is the intent of Posix to "limit" the scope of "other
  15. >implementation-defined value" to exactly SIGFPE, SIGILL and SIGSEGV?
  16. >
  17. >Or is Posix simply extending the list to include SIGILL and SIGSEGV
  18. >while still allowing for other implementation-defined values?
  19.  
  20. SIGFPE, SIGILL, and SIGSEGV are the signal names defined by
  21. POSIX.1 that correspond to computational exceptions.  Elsewhere
  22. in POSIX.1 it is stated that the implemention may generate
  23. other, implementation-defined signals.  The names of these
  24. signals and the conditions under which they are generated
  25. are to be documented in the POSIX conformance document.
  26.  
  27. POSIX.1 tries not to keep the implementation from providing
  28. additional signals or errno values that give more information
  29. to the programmer, as long as the base behavior specified
  30. by the Standard is also supported and the appropriate
  31. documentation is provided.
  32.  
  33.  
  34.     Chuck Karish        karish@mindcraft.com
  35.     Mindcraft, Inc.        (415) 323-9000
  36.  
  37.  
  38. Volume-Number: Volume 27, Number 5
  39.  
  40.