Penguin
Blame: sigreturn(2)
EditPageHistoryDiffInfoLikePages
Annotated edit history of sigreturn(2) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 SIGRETURN
2 !!!SIGRETURN
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 WARNING
8 CONFORMING TO
9 FILES
10 SEE ALSO
11 ----
12 !!NAME
13
14
15 sigreturn - return from signal handler and cleanup stack frame
16 !!SYNOPSIS
17
18
19 __int sigreturn(unsigned long__
20 ''__unused''__);__
21 !!DESCRIPTION
22
23
24 When the Linux kernel creates the stack frame for a signal
25 handler, a call to __sigreturn__ is inserted into the
26 stack frame so that the the signal handler will call
27 __sigreturn__ upon return. This inserted call to
28 __sigreturn__ cleans up the stack so that the process can
29 restart from where it was interrupted by the
30 signal.
31 !!RETURN VALUE
32
33
34 __sigreturn__ never returns.
35 !!WARNING
36
37
38 The __sigreturn__ call is used by the kernel to implement
39 signal handlers. It should __never__ be called directly.
40 Better yet, the specific use of the ''__unused'' argument
41 varies depending on the architecture.
42 !!CONFORMING TO
43
44
45 __sigreturn__ is specific to Linux and should not be used
46 in programs intended to be portable.
47 !!FILES
48
49
50 /usr/src/linux/arch/i386/kernel/signal.c
51 /usr/src/linux/arch/alpha/kernel/entry.S
52 !!SEE ALSO
53
54
55 kill(2), signal(2),
56 signal(7)
57 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.