Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 50 lignes de commande et 1472 man disponibles
login as: root
root@213.186.33.18's password:
Last login: Wed May 30 7:39:13 2012 from 38.107.179.229
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Rt_sigsuspend en anglais

SIGSUSPEND(2) Linux Programmer's Manual SIGSUSPEND(2)
 
NAME


sigsuspend - wait for a signal
 
SYNOPSIS


#include int sigsuspend(const sigset_t *mask);
 
DESCRIPTION


sigsuspend() temporarily replaces the signal mask of the calling pro- cess with the mask given by mask and then suspends the process until delivery of a signal whose action is to invoke a signal handler or to terminate a process. If the signal terminates the process, then sigsuspend() does not return. If the signal is caught, then sigsuspend() returns after the signal handler returns, and the signal mask is restored to the state before the call to sigsuspend(). It is not possible to block SIGKILL or SIGSTOP; specifying these sig- nals in mask, has no effect on the process's signal mask.
 
RETURN VALUE


sigsuspend() always returns -1, normally with the error EINTR.
 
ERRORS


EFAULT mask points to memory which is not a valid part of the process address space. EINTR The call was interrupted by a signal.
 
CONFORMING TO


POSIX.1-2001.
 
NOTES


Normally, sigsuspend() is used in conjunction with sigprocmask(2) in order to prevent delivery of a signal during the execution of a criti- cal code section. The caller first blocks the signals with sigproc- mask(2). When the critical code has completed, the caller then waits for the signals by calling sigsuspend() with the signal mask that was returned by sigprocmask(2) (in the oldset argument). See sigsetops(3) for details on manipulating signal sets.
 
SEE ALSO


kill(2), pause(2), sigaction(2), signal(2), sigprocmask(2), sigwait- info(2), sigsetops(3), sigwait(3), signal(7)
 
COLOPHON


This page is part of release 3.05 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2005-09-15 SIGSUSPEND(2)


 Dernières recherches
Man  en anglais Man rt_sigsuspend en anglaisMan  en français Man rt_sigsuspend en français
Man  en anglais Man rt_sigreturn en anglaisMan  en français Man rt_sigreturn en français
Man  en anglais Man rt_sigqueueinfo en anglaisMan  en français Man rt_sigqueueinfo en français
Man  en anglais Man rt_sigprocmask en anglaisMan  en français Man rt_sigprocmask en français
Man  en anglais Man rt_sigpending en anglaisMan  en français Man rt_sigpending en français
Man  en anglais Man rt_sigaction en anglaisMan  en français Man rt_sigaction en français
Man  en anglais Man rsh en anglaisMan  en français Man rsh en français
Man  en anglais Man rsautl en anglaisMan  en français Man rsautl en français
Man  en anglais Man rsa en anglaisMan  en français Man rsa en français
Man  en anglais Man rpmatch en anglaisMan  en français Man rpmatch en français
Man  en anglais Man rpcinfo en anglaisMan  en français Man rpcinfo en français
Man  en anglais Man round en anglaisMan  en français Man round en français
Man  en anglais Man rmdir en anglaisMan  en français Man rmdir en français
Man  en anglais Man rlogin en anglaisMan  en français Man rlogin en français
Man  en anglais Man rewind en anglaisMan  en français Man rewind en français

 Recherche

Dans ce moteur de recherche, vous pouvez taper directement votre besoin, en une phrase normale, humaine.
Exemple : vous cherchez comment remplacer un mot par un autre dans tous les fichiers d'un certain dossier. Vous pouvez écrire "Comment remplacer un mot par un autre dans tous les fichiers d'un dossier". Le moteur vous ramenera les résultats en fonction de leur pertinence.
Vous pouvez bien sûr ne chercher qu'un seul mot-clé, par exemple "find".
 Toutes les lignes de code
Par popularité
Par fonction
Recherche avancée
 Les logiciels SHELL/SSH
Putty
Astuces Bash
Faire du SHELL avec PHP!
 La doc officielle
Les man Linux en français
Les man Linux en anglais
 Proposer vos bash
Partagez vos lignes!
 Les requêtes
Déposer une requête
Voir/répondre à une requête
 Quelques sites interessants
Bons sites pour apprendre
 Rechercher