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 0:33:43 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 Pthread_equal en anglais

PTHREAD_EQUAL(P) POSIX Programmer's Manual PTHREAD_EQUAL(P)
 
NAME


pthread_equal - compare thread IDs
 
SYNOPSIS


#include int pthread_equal(pthread_t t1, pthread_t t2);
 
DESCRIPTION


This function shall compare the thread IDs t1 and t2.
 
RETURN VALUE


The pthread_equal() function shall return a non-zero value if t1 and t2 are equal; otherwise, zero shall be returned. If either t1 or t2 are not valid thread IDs, the behavior is undefined.
 
ERRORS


No errors are defined. The pthread_equal() function shall not return an error code of [EINTR]. The following sections are informative.
 
EXAMPLES


None.
 
APPLICATION USAGE


None.
 
RATIONALE


Implementations may choose to define a thread ID as a structure. This allows additional flexibility and robustness over using an int. For example, a thread ID could include a sequence number that allows detec- tion of "dangling IDs" (copies of a thread ID that has been detached). Since the C language does not support comparison on structure types, the pthread_equal() function is provided to compare thread IDs.
 
FUTURE DIRECTIONS


None.
 
SEE ALSO


pthread_create() , pthread_self() , the Base Definitions volume of IEEE Std 1003.1-2001,
 
COPYRIGHT


Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html . IEEE/The Open Group 2003 PTHREAD_EQUAL(P)


 Dernières recherches
Man  en anglais Man pthread_equal en anglaisMan  en français Man pthread_equal en français
Man  en anglais Man cbrt en anglaisMan  en français Man cbrt en français
Man  en anglais Man atoq en anglaisMan  en français Man atoq en français
Man  en anglais Man sbrk en anglaisMan  en français Man sbrk en français
Man  en anglais Man diff en anglaisMan  en français Man diff en français
Man  en anglais Man tty en anglaisMan  en français Man tty en français
Man  en anglais Man inotify_init en anglaisMan  en français Man inotify_init en français
Man  en anglais Man mq_timedsend en anglaisMan  en français Man mq_timedsend en français
Man  en anglais Man arp en anglaisMan  en français Man arp en français
Man  en anglais Man pty en anglaisMan  en français Man pty en français
Man  en anglais Man gettimeofday en anglaisMan  en français Man gettimeofday en français
Man  en anglais Man chcon en anglaisMan  en français Man chcon en français
Man  en anglais Man epoll_create en anglaisMan  en français Man epoll_create en français
Man  en anglais Man tcp en anglaisMan  en français Man tcp en français
Man  en anglais Man reiserfstune en anglaisMan  en français Man reiserfstune 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