2 .\" Manual page created with latex2man on Thu Aug 16 09:44:45 MDT 2007
3 .\" NOTE: This file is generated, DO NOT EDIT.
13 .TH "UNW\\_IS\\_SIGNAL\\_FRAME" "3" "16 August 2007" "Programming Library " "Programming Library "
16 \-\- check if current frame is a signal frame
21 #include <libunwind.h>
25 unw_is_signal_frame(unw_cursor_t *cp);
31 The unw_is_signal_frame()
32 routine returns a positive value
33 if the current frame identified by cp
34 is a signal frame, and a
35 value of 0 otherwise. For the purpose of this discussion, a signal
36 frame is a frame that was created in response to a potentially
37 asynchronous interruption. For UNIX and UNIX\-like platforms, such
38 frames are normally created by the kernel when delivering a signal.
39 In a kernel\-environment, a signal frame might, for example, correspond
40 to a frame created in response to a device interrupt.
42 Signal frames are somewhat unusual because the asynchronous nature of
43 the events that create them require storing the contents of registers
44 that are normally treated as scratch (``caller\-saved\&'') registers.
49 On successful completion, unw_is_signal_frame()
51 positive value if the current frame is a signal frame, or 0 if it is
52 not. Otherwise, a negative value of one of the error\-codes below is
55 .SH THREAD AND SIGNAL SAFETY
59 is thread\-safe as well as safe to use
60 from a signal handler.
68 is unable to determine
69 whether or not the current frame is a signal frame.
85 Email: \fBdmosberger@gmail.com\fP
87 WWW: \fBhttp://www.nongnu.org/libunwind/\fP\&.
88 .\" NOTE: This file is generated, DO NOT EDIT.