MentOS
0.8.0
The Mentoring Operating System
|
Functions | |
_syscall0 (_syscall3(int, sigreturn) | |
Implement the sigreturn function. More... | |
sighandler_t | signal (int signum, sighandler_t handler) |
Sets the disposition of the signal signum to handler. More... | |
int | sigaction (int signum, const sigaction_t *act, sigaction_t *oldact) |
Examine and change a signal action. More... | |
const char * | strsignal (int sig) |
Returns the string describing the given signal. More... | |
int | sigemptyset (sigset_t *set) |
Prepare an empty set. More... | |
int | sigfillset (sigset_t *set) |
Prepare a full set. More... | |
int | sigaddset (sigset_t *set, int signum) |
Adds the given signal to the correct set. More... | |
int | sigdelset (sigset_t *set, int signum) |
Removes the given signal to the correct set. More... | |
int | sigismember (sigset_t *set, int signum) |
Checks if the given signal is part of the set. More... | |
Implement the sigreturn function.
List of signals names.
int | Implement the sigprocmask function. |
int sigaction | ( | int | signum, |
const sigaction_t * | act, | ||
sigaction_t * | oldact | ||
) |
Examine and change a signal action.
signum | Specifies the signal and can be any valid signal except SIGKILL and SIGSTOP. |
act | If non-NULL, the new action for signal signum is installed from act. |
oldact | If non-NULL, the previous action is saved in oldact. |
int sigaddset | ( | sigset_t * | set, |
int | signum | ||
) |
Adds the given signal to the correct set.
set | The set to manipulate. |
signum | The signalt to handle. |
int sigdelset | ( | sigset_t * | set, |
int | signum | ||
) |
Removes the given signal to the correct set.
set | The set to manipulate. |
signum | The signalt to handle. |
int sigemptyset | ( | sigset_t * | set | ) |
Prepare an empty set.
set | The set to manipulate. |
int sigfillset | ( | sigset_t * | set | ) |
Prepare a full set.
set | The set to manipulate. |
int sigismember | ( | sigset_t * | set, |
int | signum | ||
) |
Checks if the given signal is part of the set.
set | The set to manipulate. |
signum | The signalt to handle. |
sighandler_t signal | ( | int | signum, |
sighandler_t | handler | ||
) |
Sets the disposition of the signal signum to handler.
signum | The signal number. |
handler | The handler for the signal. |
const char* strsignal | ( | int | sig | ) |
Returns the string describing the given signal.
sig | The signal to inquire. |