TacOS  0.2
 Tout Structures de données Fichiers Fonctions Variables Définitions de type Énumérations Macros
Fonctions
Référence du fichier signal.c

Gestion des signaux. Plus de détails...

#include <signal.h>
#include <stdlib.h>
#include <sys/syscall.h>
#include <unistd.h>
Graphe des dépendances par inclusion de signal.c:

Fonctions

int kill (unsigned int pid, int sig)
 
int raise (int sig)
 
sighandler_t signal (int sig, sighandler_t func)
 
int sigsuspend (const sigset_t *sigmask)
 
int sigprocmask (int how, const sigset_t *set, sigset_t *oldset)
 
int sigemptyset (sigset_t *set)
 
int sigfillset (sigset_t *set)
 
int sigaddset (sigset_t *set, int signum)
 
int sigdelset (sigset_t *set, int signum)
 
int sigismember (const sigset_t *set, int signum)
 
void sig_ignore_handler (int signal)
 
void core (int signal)
 
void sig_stop_handler (int signal)
 
void init_signals (void)
 

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

Documentation des fonctions

void init_signals ( void  )

Mise en place des handlers par défaut.

Voici le graphe d'appel pour cette fonction :

int kill ( unsigned int  pid,
int  sig 
)

Envoyer un signal à un processus.

Paramètres
pidl'identifiant du processus.
sigle signal à envoyer.
Renvoie
0 en cas de succès.

Voici le graphe d'appel pour cette fonction :

Voici le graphe des appelants de cette fonction :

int raise ( int  sig)

Envoyer un signal à l'appelant.

Paramètres
sigle signal à envoyer.
Renvoie
0 en cas de succès.

Voici le graphe d'appel pour cette fonction :

sighandler_t signal ( int  sig,
sighandler_t  func 
)

Met en place un handler pour un signal.

Paramètres
sigle signal à catcher.
funcfonction handler à utiliser.

Voici le graphe d'appel pour cette fonction :

Voici le graphe des appelants de cette fonction :