* manual/errno.texi (Error Codes): Revert last change for now.
[glibc.git] / linuxthreads / man / pthread_equal.man
blob1a0396515a5326fc2eb424e48e9c8eadeae18ff9
1 .TH PTHREAD_EQUAL 3 LinuxThreads
3 .SH NAME
4 pthread_equal \- compare two thread identifiers
6 .SH SYNOPSIS
7 #include <pthread.h>
9 int pthread_equal(pthread_t thread1, pthread_t thread2);
11 .SH DESCRIPTION
12 !pthread_equal! determines if two thread identifiers refer to the same
13 thread.
15 .SH "RETURN VALUE"
16 A non-zero value is returned if |thread1| and |thread2| refer to the
17 same thread. Otherwise, 0 is returned.
19 .SH AUTHOR
20 Xavier Leroy <Xavier.Leroy@inria.fr>
22 .SH "SEE ALSO"
23 !pthread_self!(3).