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: Thu Feb 9 5:51:49 2012 from 38.107.179.226
[root@bash-linux ~] # echo "Bienvenue sur Bash-Linux.com"_
 Manuel des commandes UNIX (man) Version anglaise

Indiquez la fonction :

Man Gettid en anglais

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


gettid - get thread identification
 
SYNOPSIS


#include pid_t gettid(void);
 
DESCRIPTION


gettid() returns the caller's thread ID (TID). In a single-threaded process, the thread ID is equal to the process ID (PID, as returned by getpid(2)). In a multithreaded process, all threads have the same PID, but each one has a unique TID. For further details, see the discussion of CLONE_THREAD in clone(2).
 
RETURN VALUE


On success, returns the thread ID of the calling process.
 
ERRORS


This call is always successful.
 
VERSIONS


The gettid() system call first appeared on Linux in kernel 2.4.11.
 
CONFORMING TO


gettid() is Linux-specific and should not be used in programs that are intended to be portable.
 
NOTES


Glibc does not provide a wrapper for this system call; call it using syscall(2). The thread ID returned by this call is not the same thing as a POSIX thread ID (i.e., the opaque value returned by pthread_self(3)).
 
SEE ALSO


clone(2), fork(2), getpid(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 2008-04-14 GETTID(2)


 Dernières recherches
Man  en anglais Man gettid en anglaisMan  en français Man gettid en français
Man  en anglais Man syslog en anglaisMan  en français Man syslog en français
Man  en anglais Man ferror en anglaisMan  en français Man ferror en français
Man  en anglais Man getgid en anglaisMan  en français Man getgid en français
Man  en anglais Man perror en anglaisMan  en français Man perror en français
Man  en anglais Man getuid en anglaisMan  en français Man getuid en français
Man  en anglais Man memcpy en anglaisMan  en français Man memcpy en français
Man  en anglais Man setpci en anglaisMan  en français Man setpci en français
Man  en anglais Man pstree en anglaisMan  en français Man pstree en français
Man  en anglais Man getegid en anglaisMan  en français Man getegid en français
Man  en anglais Man setgid en anglaisMan  en français Man setgid en français
Man  en anglais Man execve en anglaisMan  en français Man execve en français
Man  en anglais Man gunzip en anglaisMan  en français Man gunzip en français
Man  en anglais Man chroot en anglaisMan  en français Man chroot en français
Man  en anglais Man shmctl en anglaisMan  en français Man shmctl 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