]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/pthread_equal.3
fuse.4: ffix
[thirdparty/man-pages.git] / man3 / pthread_equal.3
index cad05b800ef489bd60cfe30b53e0b32640744054..08e5b1e2d07e9c0403c5ab8eea77c3ef8fa78039 100644 (file)
@@ -1,6 +1,7 @@
 .\" Copyright (c) 2008 Linux Foundation, written by Michael Kerrisk
 .\"     <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
-.TH PTHREAD_EQUAL 3 2009-03-30 "Linux" "Linux Programmer's Manual"
+.TH PTHREAD_EQUAL 3 2015-08-08 "Linux" "Linux Programmer's Manual"
 .SH NAME
 pthread_equal \- compare thread IDs
 .SH SYNOPSIS
 .nf
 .B #include <pthread.h>
-
+.PP
 .BI "int pthread_equal(pthread_t " t1 ", pthread_t " t2 );
-.sp
+.PP
 Compile and link with \fI\-pthread\fP.
 .fi
 .SH DESCRIPTION
@@ -42,8 +44,20 @@ If the two thread IDs are equal,
 returns a nonzero value; otherwise, it returns 0.
 .SH ERRORS
 This function always succeeds.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface      Attribute       Value
+T{
+.BR pthread_equal ()
+T}     Thread safety   MT-Safe
+.TE
 .SH CONFORMING TO
-POSIX.1-2001.
+POSIX.1-2001, POSIX.1-2008.
 .SH NOTES
 The
 .BR pthread_equal ()