Thread View: comp.std.unix
1 messages
1 total messages
Started by Mike Wulkan
Fri, 21 Feb 1992 20:55
return from a signal-catching function
Author: Mike Wulkan
Date: Fri, 21 Feb 1992 20:55
Date: Fri, 21 Feb 1992 20:55
26 lines
1926 bytes
1926 bytes
Submitted-by: WULKAN@TOROLAB6.VNET.IBM.COM (Mike Wulkan)
I have a question as to the intent of the following statement in section
3.3.1.3 of 1003.1:
521 (c) The behavior of a process is undefined after it returns normally
522 from a signal-catching function for a SIGFPE, SIGILL, or SIGSEGV
523 signal that was not generated by the kill() function or the raise()
524 function defined by the C Standard {2}.
whereas the ANSI C Standard states in section 4.7.1.1:
... If func executes a return statement and the value of sig was
SIGFPE or any other implementation-defined value corresponding to a
computational exception, the behavior is undefined. ...
Is the intent of Posix to "limit" the scope of "other
implementation-defined value" to exactly SIGFPE, SIGILL and SIGSEGV?
Or is Posix simply extending the list to include SIGILL and SIGSEGV
while still allowing for other implementation-defined values?
Mike Wulkan
Volume-Number: Volume 27, Number 3
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads