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: Mon Feb 13 6:10:46 2012 from 38.107.179.227
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Set_tid_address en anglais

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


set_tid_address - set pointer to thread ID
 
SYNOPSIS


#include long set_tid_address(int *tidptr);
 
DESCRIPTION


The kernel keeps for each process two values called set_child_tid and clear_child_tid that are NULL by default. set_child_tid If a process is started using clone(2) with the CLONE_CHILD_SETTID flag, set_child_tid is set to child_tidptr, the fifth argument of that system call. When set_child_tid is set, the very first thing the new process does is writing its PID at this address. clear_child_tid If a process is started using clone(2) with the CLONE_CHILD_CLEARTID flag, clear_child_tid is set to child_tidptr, the fifth argument of that system call. The system call set_tid_address() sets the clear_child_tid value for the calling process to tidptr. When clear_child_tid is set, and the process exits, and the process was sharing memory with other processes or threads, then 0 is written at this address, and a futex(child_tidptr, FUTEX_WAKE, 1, NULL, NULL, 0); call is done. (That is, wake a single process waiting on this futex.) Errors are ignored.
 
RETURN VALUE


set_tid_address() always returns the PID of the calling process.
 
ERRORS


set_tid_address() always succeeds.
 
VERSIONS


This call is present since Linux 2.5.48. Details as given here are valid since Linux 2.5.49.
 
CONFORMING TO


This system call is Linux-specific.
 
SEE ALSO


clone(2), futex(2)
 
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 2004-09-10 SET_TID_ADDRESS(2)


 Dernières recherches
Man  en anglais Man set_tid_address en anglaisMan  en français Man set_tid_address en français
Man  en anglais Man capset en anglaisMan  en français Man capset en français
Man  en anglais Man socket en anglaisMan  en français Man socket en français
Man  en anglais Man semget en anglaisMan  en français Man semget en français
Man  en anglais Man execvp en anglaisMan  en français Man execvp en français
Man  en anglais Man strcmp en anglaisMan  en français Man strcmp en français
Man  en anglais Man strstr en anglaisMan  en français Man strstr en français
Man  en anglais Man execlp en anglaisMan  en français Man execlp en français
Man  en anglais Man shmctl en anglaisMan  en français Man shmctl en français
Man  en anglais Man ecvt_r en anglaisMan  en français Man ecvt_r en français
Man  en anglais Man shmget en anglaisMan  en français Man shmget en français
Man  en anglais Man packet en anglaisMan  en français Man packet en français
Man  en anglais Man getpagesize en anglaisMan  en français Man getpagesize en français
Man  en anglais Man pwrite en anglaisMan  en français Man pwrite en français
Man  en anglais Man getgid en anglaisMan  en français Man getgid 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