OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / glibc-linuxthreads / draft / man3 / pthread_equal.3
1 .\"   Copyright (C) 1996-1999 Free Software Foundation, Inc.
2 .\"
3 .\"   Permission is granted to make and distribute verbatim copies of
4 .\" this manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\"   Permission is granted to copy and distribute modified versions of
8 .\" this manual under the conditions for verbatim copying, provided that
9 .\" the entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\"   Permission is granted to copy and distribute translations of this
13 .\" manual into another language, under the above conditions for modified
14 .\" versions, except that this permission notice may be stated in a
15 .\" translation approved by the Foundation.
16 .\"
17 .\" Copyright (C) 1996 Xavier Leroy.
18 .\"
19 .\" Japanese Version Copyright (C) 2002-2003 Suzuki Takashi
20 .\"         all rights reserved.
21 .\" Translated Tue Dec 31 17:51:46 JST 2002
22 .\"         by Suzuki Takashi.
23 .\"
24 .\"WORD:    thread identifier   ¥¹¥ì¥Ã¥ÉID
25 .\"
26 .\"
27 .TH PTHREAD_EQUAL 3 LinuxThreads
28
29 .\"O .SH NAME
30 .\"O pthread_equal \- compare two thread identifiers
31 .SH Ì¾Á°
32 pthread_equal \- 2 ¤Ä¤Î¥¹¥ì¥Ã¥É ID ¤òÈæ³Ó¤¹¤ë
33
34 .\"O .SH SYNOPSIS
35 .SH "½ñ¼°"
36 .B #include <pthread.h>
37
38 .BI "int pthread_equal(pthread_t " thread1 ", pthread_t " thread2 ");"
39
40 .\"O .SH DESCRIPTION
41 .\"O .B "pthread_equal"
42 .\"O determines if two thread identifiers refer to the same
43 .\"O thread.
44 .SH "ÀâÌÀ"
45 .B "pthread_equal"
46 ¤Ï 2 ¤Ä¤Î¥¹¥ì¥Ã¥É ID ¤¬Æ±°ì¤Î¥¹¥ì¥Ã¥É¤ò»Ø¤·¤Æ¤¤¤ë¤«¤É¤¦¤«¤òȽÄꤹ¤ë¡£
47
48 .\"O .SH "RETURN VALUE"
49 .\"O A non-zero value is returned if 
50 .\"O .I "thread1"
51 .\"O and 
52 .\"O .I "thread2"
53 .\"O refer to the
54 .\"O same thread. Otherwise, 0 is returned.
55 .SH "ÊÖ¤êÃÍ"
56 .I "thread1"
57 ¤È
58 .I "thread2"
59 ¤¬Æ±°ì¤Î¥¹¥ì¥Ã¥É¤ò»Ø¤·¤Æ¤¤¤ë¤È¤­¡¢
60 Èó 0 ¤ÎÃͤ¬Ê֤롣
61 ¤½¤ì°Ê³°¤Î¾ì¹ç¡¢ 0 ¤¬Ê֤롣
62
63 .\"O .SH AUTHOR
64 .SH "Ãø¼Ô"
65 Xavier Leroy <Xavier.Leroy@inria.fr>
66
67 .\"O .SH "SEE ALSO"
68 .SH "´ØÏ¢¹àÌÜ"
69 .BR "pthread_self" (3).