raise
send a signal to the caller
1. raise.3.man
Manpage of RAISE
RAISE
Section: Linux Programmer's Manual (3)Updated: 2008-10-17
Index Return to Main Contents
NAME
raise - send a signal to the callerSYNOPSIS
#include <signal.h> int raise(int sig);
DESCRIPTION
The raise() function sends a signal to the calling process or thread. In a single-threaded program it is equivalent to
kill(getpid(), sig);
In a multithreaded program it is equivalent to
pthread_kill(pthread_self(), sig);
If the signal causes a handler to be called, raise() will only return after the signal handler has returned.
RETURN VALUE
raise() returns 0 on success, and nonzero for failure.CONFORMING TO
C89, C99, POSIX.1-2001.SEE ALSO
getpid(2), kill(2), sigaction(2), signal(2), pthread_kill(3), signal(7)COLOPHON
This page is part of release 3.32 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.
Index
This document was created by man2html using the manual pages.
Time: 17:32:32 GMT, May 11, 2012
2. raise.9.man
Manpage of raise
raise
Section: Tk Built-In Commands (n)Updated: 3.3
Index Return to Main Contents
NAME
raise - Change a window's position in the stacking orderSYNOPSIS
raise window ?aboveThis?DESCRIPTION
If the aboveThis argument is omitted then the command raises window so that it is above all of its siblings in the stacking order (it will not be obscured by any siblings and will obscure any siblings that overlap it). If aboveThis is specified then it must be the path name of a window that is either a sibling of window or the descendant of a sibling of window. In this case the raise command will insert window into the stacking order just above aboveThis (or the ancestor of aboveThis that is a sibling of window); this could end up either raising or lowering window.
EXAMPLE
Make a button appear to be in a sibling frame that was created after it. This is is often necessary when building GUIs in the style where you create your activity widgets first before laying them out on the display:-
button .b -text "Hi there!" pack [frame .f -background blue] pack [label .f.l1 -text "This is above"] pack .b -in .f pack [label .f.l2 -text "This is below"] raise .b
SEE ALSO
lower(n)KEYWORDS
obscure, raise, stacking order
Index
This document was created by man2html using the manual pages.
Time: 17:32:32 GMT, May 11, 2012






