Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
sigreturn(2)
Edit
PageHistory
Diff
Info
LikePages
SIGRETURN !!!SIGRETURN NAME SYNOPSIS DESCRIPTION RETURN VALUE WARNING CONFORMING TO FILES SEE ALSO ---- !!NAME sigreturn - return from signal handler and cleanup stack frame !!SYNOPSIS __int sigreturn(unsigned long__ ''__unused''__);__ !!DESCRIPTION When the Linux kernel creates the stack frame for a signal handler, a call to __sigreturn__ is inserted into the stack frame so that the the signal handler will call __sigreturn__ upon return. This inserted call to __sigreturn__ cleans up the stack so that the process can restart from where it was interrupted by the signal. !!RETURN VALUE __sigreturn__ never returns. !!WARNING The __sigreturn__ call is used by the kernel to implement signal handlers. It should __never__ be called directly. Better yet, the specific use of the ''__unused'' argument varies depending on the architecture. !!CONFORMING TO __sigreturn__ is specific to Linux and should not be used in programs intended to be portable. !!FILES /usr/src/linux/arch/i386/kernel/signal.c /usr/src/linux/arch/alpha/kernel/entry.S !!SEE ALSO kill(2), signal(2), signal(7) ----
2 pages link to
sigreturn(2)
:
Man2s
syscalls(2)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.