08-27-2013
It means, the list of signal-safe functions are safe to use inside a signal handler. The POSIX stuff means that this is what's expected of a UNIX system.
How would you simulate shutdown without being shutdown? Killing all processes but not turning off the computer?
This User Gave Thanks to Corona688 For This Post:
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Iam calling 3 sql scripts through one shell script 'rmia.sh'.
Till now this was working fine, but last time while calling the SQL scripts,
Oracle was down. But amazingly the exit status was '0' (success)!!!
Below is the shell code:
#!/usr/bin/ksh -x
assign_file asql a.sql 1... (15 Replies)
Discussion started by: ganapati
15 Replies
2. Shell Programming and Scripting
Ok here is the problem we have 2 v440 with same IP address running solars 9. one remains on the other remains off. They are both configured exactly the same for redundant purposes for the software we use. This was the best/worst idea. Great because down time is only a mere minutes. The bad is the... (7 Replies)
Discussion started by: deaconf19
7 Replies
3. Solaris
I am working on a SUN T2000 machine with Solaris 10 running on it. When I checked the system this morning, I found it to be turned off. The lastreboot command showed that the system had been shut down the previous night.
I want to find out how the system was shut down. I have run hardware health... (2 Replies)
Discussion started by: batman727
2 Replies
4. Shell Programming and Scripting
I want to only send a mail before my system goes for a shutdown or reboot. I don't want a mail when it comes up after a reboot or is normally started.. How can i achieve this? (2 Replies)
Discussion started by: proactiveaditya
2 Replies
5. Windows & DOS: Issues & Discussions
Hello,
from last few days my laptop is not whutting down properly.. when ever i ty to shutdown it restarts again.. what may be problem?? antivirus is updated till date.. and i use windows xp sp2....
regards,
deepak. (5 Replies)
Discussion started by: smarty86
5 Replies
6. Shell Programming and Scripting
Hi everybody,
I am working on a bigger awk script in which one part is comparing the size of two files.
I want to evaluate which file is bigger and then just save the bigger one.
I got it all working except for the part where I want to figure out which file is bigger; the one awk is currently... (2 Replies)
Discussion started by: iMeal
2 Replies
7. Solaris
I am working on sunos solaris. I want to know which is good for system shut-down ? (3 Replies)
Discussion started by: Jitesh Varshney
3 Replies
8. Red Hat
Hi All,
I have one situation to shut-down the system through shell script.I need script command to shut-down the system and process should end(safe-mode) the MyEclipse. (0 Replies)
Discussion started by: stsivaraj
0 Replies
LEARN ABOUT DEBIAN
unw_is_signal_frame
UNW_IS_SIGNAL_FRAME(3) Programming Library UNW_IS_SIGNAL_FRAME(3)
NAME
unw_is_signal_frame -- check if current frame is a signal frame
SYNOPSIS
#include <libunwind.h>
int unw_is_signal_frame(unw_cursor_t *cp);
DESCRIPTION
The unw_is_signal_frame() routine returns a positive value if the current frame identified by cp is a signal frame, and a value of 0 other-
wise. For the purpose of this discussion, a signal frame is a frame that was created in response to a potentially asynchronous interrup-
tion. For UNIX and UNIX-like platforms, such frames are normally created by the kernel when delivering a signal. In a kernel-environment,
a signal frame might, for example, correspond to a frame created in response to a device interrupt.
Signal frames are somewhat unusual because the asynchronous nature of the events that create them require storing the contents of registers
that are normally treated as scratch (``caller-saved'') registers.
RETURN VALUE
On successful completion, unw_is_signal_frame() returns a positive value if the current frame is a signal frame, or 0 if it is not. Other-
wise, a negative value of one of the error-codes below is returned.
THREAD AND SIGNAL SAFETY
unw_is_signal_frame() is thread-safe as well as safe to use from a signal handler.
ERRORS
UNW_ENOINFO
Libunwind is unable to determine whether or not the current frame is a signal frame.
SEE ALSO
libunwind(3), unw_get_reg(3), unw_set_reg(3), unw_get_fpreg(3), unw_set_fpreg(3)
AUTHOR
David Mosberger-Tang
Email: dmosberger@gmail.com
WWW: http://www.nongnu.org/libunwind/.
Programming Library 16 August 2007 UNW_IS_SIGNAL_FRAME(3)