Bash-Linux.com : Le SHELL pour les nuls

  Actuellement 46 lignes de commande disponibles
login as: root
root@213.186.33.18's password:
Last login: Sun Aug 1 8:02:58 2010 from 38.107.191.102
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Sigqueue en anglais

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


sigqueue - queue a signal and data to a process
 
SYNOPSIS


#include int sigqueue(pid_t pid, int sig, const union sigval value);
 
DESCRIPTION


sigqueue() sends the signal specified in sig to the process whose PID is given in pid. The permissions required to send a signal are the same as for kill(2). As with kill(2), the null signal (0) can be used to check if a process with a given PID exists. The value argument is used to specify an accompanying item of data (either an integer or a pointer value) to be sent with the signal, and has the following type: union sigval { int sival_int; void *sival_ptr; }; If the receiving process has installed a handler for this signal using the SA_SIGINFO flag to sigaction(2), then it can obtain this data via the si_value field of the siginfo_t structure passed as the second argument to the handler. Furthermore, the si_code field of that struc- ture will be set to SI_QUEUE.
 
RETURN VALUE


On success, sigqueue() returns 0, indicating that the signal was suc- cessfully queued to the receiving process. Otherwise -1 is returned and errno is set to indicate the error.
 
ERRORS


EAGAIN The limit of signals which may be queued has been reached. (See signal(7) for further information.) EINVAL sig was invalid. EPERM The process does not have permission to send the signal to the receiving process. For the required permissions, see kill(2). ESRCH No process has a PID matching pid.
 
NOTES


If this function results in the sending of a signal to the process that invoked it, and that signal was not blocked by the calling thread, and no other threads were willing to handle this signal (either by having it unblocked, or by waiting for it using sigwait(3)), then at least some signal must be delivered to this thread before this function returns.
 
CONFORMING TO


POSIX.1-2001
 
SEE ALSO


kill(2), sigaction(2), signal(2), sigwait(3), signal(7) Linux 2.6.7 2004-06-16 SIGQUEUE(2)


 Dernières recherches
Man  en anglais Man sigqueue en anglaisMan  en français Man sigqueue en français
Man  en anglais Man mq_unlink en anglaisMan  en français Man mq_unlink en français
Man  en anglais Man capabilities en anglaisMan  en français Man capabilities en français
Man  en anglais Man sshd_config en anglaisMan  en français Man sshd_config en français
Man  en anglais Man abort en anglaisMan  en français Man abort en français
Man  en anglais Man getrlimit en anglaisMan  en français Man getrlimit en français
Man  en anglais Man pstree en anglaisMan  en français Man pstree en français
Man  en anglais Man cron en anglaisMan  en français Man cron en français
Man  en anglais Man mkdir en anglaisMan  en français Man mkdir en français
Man  en anglais Man sprintf en anglaisMan  en français Man sprintf en français
Man  en anglais Man connect en anglaisMan  en français Man connect en français
Man  en anglais Man regex en anglaisMan  en français Man regex en français
Man  en anglais Man fseek en anglaisMan  en français Man fseek en français
Man  en anglais Man fork en anglaisMan  en français Man fork en français
Man  en anglais Man sched_yield en anglaisMan  en français Man sched_yield 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