TacOS  0.2
 Tout Structures de données Fichiers Fonctions Variables Définitions de type Énumérations Macros
Structures de données | Fonctions | Variables
Référence du fichier ksignal.c
#include <gdt.h>
#include <interrupts.h>
#include <klog.h>
#include <kprocess.h>
#include <ksignal.h>
#include <kstdio.h>
#include <pagination.h>
#include <scheduler.h>
#include <syscall_values.h>
Graphe des dépendances par inclusion de ksignal.c:

Structures de données

struct  sigframe
 

Fonctions

 SYSCALL_HANDLER3 (sys_signal, uint32_t signum, sighandler_t handler, sighandler_t *ret)
 
 SYSCALL_HANDLER3 (sys_sigprocmask, uint32_t how, sigset_t *set, sigset_t *oldset)
 
 SYSCALL_HANDLER3 (sys_kill, int pid, int signum, int *ret)
 
 SYSCALL_HANDLER0 (sys_sigret)
 
 SYSCALL_HANDLER1 (sys_sigsuspend, sigset_t *mask)
 
int signal_pending (process_t *process)
 
int exec_sighandler (process_t *process)
 

Variables

const char * signal_names []
 

Description détaillée

Auteur
TacOS developers

LICENSE

Copyright (C) 2010-2014 TacOS developers.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org/copyleft/gpl.html

You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.

DESCRIPTION

Description de ce que fait le fichier

Documentation des variables

const char* signal_names[]
Valeur initiale :
= {"SIGHUP", "SIGINT", "SIGQUIT", "SIGILL", "SIGTRAP",
"SIGABRT", "SIGBUS ", "SIGFPE ", "SIGKILL", "SIGUSR1", "SIGSEGV", "SIGUSR2",
"SIGPIPE", "SIGALRM", "SIGTERM", "???", "SIGCHLD", "SIGCONT", "SIGSTOP", "SIGTSTP",
"SIGTTIN", "SIGTTOU", "SIGURG", "SIGSYS", "SIGRTMIN"}

Nom des signaux. Utile pour afficher leurs noms à la place de leurs numéros.