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 7:46:55 2010 from 38.107.191.100
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Tkill en anglais

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


tkill, tgkill - send a signal to a single process
 
SYNOPSIS


#include #include #include _syscall2(int, tkill, int, tid, int, sig) /* Using syscall(2) may be preferable; see intro(2) */ int tkill(int tid, int sig); _syscall3(int, tgkill, int, tgid, int, tid, int, sig) /* Using syscall(2) may be preferable; see intro(2) */ int tgkill(int tgid, int tid, int sig);
 
DESCRIPTION


The tkill() system call is analogous to kill(2), except when the speci- fied process is part of a thread group (created by specifying the CLONE_THREAD flag in the call to clone). Since all the processes in a thread group have the same PID, they cannot be individually signalled with kill(). With tkill(), however, one can address each process by its unique TID. The tgkill() call improves on tkill() by allowing the caller to specify the thread group ID of the thread to be signalled, protecting against TID reuse. If the tgid is specified as -1, tgkill() degenerates into tkill(). These are the raw system call interfaces, meant for internal thread library use.
 
RETURN VALUE


On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
 
ERRORS


EINVAL An invalid TID or signal was specified. EPERM Permission denied. For the required permissions, see kill(2). ESRCH No process with the specified thread ID (and thread group ID) exists.
 
CONFORMING TO


tkill() and tgkill() are Linux specific and should not be used in pro- grams that are intended to be portable.
 
VERSIONS


tkill() is supported since Linux 2.4.19 / 2.5.4. tgkill() was added in Linux 2.5.75.
 
SEE ALSO


gettid(2), kill(2) Linux 2.6.6 2004-05-31 TKILL(2)


 Dernières recherches
Man  en anglais Man tkill en anglaisMan  en français Man tkill en français
Man  en anglais Man closelog en anglaisMan  en français Man closelog en français
Man  en anglais Man getrusage en anglaisMan  en français Man getrusage en français
Man  en anglais Man send en anglaisMan  en français Man send en français
Man  en anglais Man mknod en anglaisMan  en français Man mknod en français
Man  en anglais Man execl en anglaisMan  en français Man execl en français
Man  en anglais Man pathconf en anglaisMan  en français Man pathconf en français
Man  en anglais Man logger en anglaisMan  en français Man logger en français
Man  en anglais Man inet_ntop en anglaisMan  en français Man inet_ntop en français
Man  en anglais Man strptime en anglaisMan  en français Man strptime en français
Man  en anglais Man dd en anglaisMan  en français Man dd en français
Man  en anglais Man wcslen en anglaisMan  en français Man wcslen en français
Man  en anglais Man mkfs en anglaisMan  en français Man mkfs en français
Man  en anglais Man kill en anglaisMan  en français Man kill en français
Man  en anglais Man sigaction en anglaisMan  en français Man sigaction 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