1*678b238cSJung-uk Kim.\" Copyright (c) 2011 Jung-uk Kim <jkim@FreeBSD.org> 2*678b238cSJung-uk Kim.\" All rights reserved. 3*678b238cSJung-uk Kim.\" 4*678b238cSJung-uk Kim.\" Redistribution and use in source and binary forms, with or without 5*678b238cSJung-uk Kim.\" modification, are permitted provided that the following conditions 6*678b238cSJung-uk Kim.\" are met: 7*678b238cSJung-uk Kim.\" 1. Redistributions of source code must retain the above copyright 8*678b238cSJung-uk Kim.\" notice, this list of conditions and the following disclaimer. 9*678b238cSJung-uk Kim.\" 2. Redistributions in binary form must reproduce the above copyright 10*678b238cSJung-uk Kim.\" notice, this list of conditions and the following disclaimer in the 11*678b238cSJung-uk Kim.\" documentation and/or other materials provided with the distribution. 12*678b238cSJung-uk Kim.\" 13*678b238cSJung-uk Kim.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14*678b238cSJung-uk Kim.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15*678b238cSJung-uk Kim.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16*678b238cSJung-uk Kim.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17*678b238cSJung-uk Kim.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18*678b238cSJung-uk Kim.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19*678b238cSJung-uk Kim.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20*678b238cSJung-uk Kim.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21*678b238cSJung-uk Kim.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22*678b238cSJung-uk Kim.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23*678b238cSJung-uk Kim.\" SUCH DAMAGE. 24*678b238cSJung-uk Kim.\" 25*678b238cSJung-uk Kim.\" $FreeBSD$ 26*678b238cSJung-uk Kim.\" 27*678b238cSJung-uk Kim.Dd February 7, 2011 28*678b238cSJung-uk Kim.Dt PTHREAD_GETTHREADID_NP 3 29*678b238cSJung-uk Kim.Os 30*678b238cSJung-uk Kim.Sh NAME 31*678b238cSJung-uk Kim.Nm pthread_getthreadid_np 32*678b238cSJung-uk Kim.Nd get the calling thread's integral ID 33*678b238cSJung-uk Kim.Sh LIBRARY 34*678b238cSJung-uk Kim.Lb libpthread 35*678b238cSJung-uk Kim.Sh SYNOPSIS 36*678b238cSJung-uk Kim.In pthread_np.h 37*678b238cSJung-uk Kim.Ft int 38*678b238cSJung-uk Kim.Fn pthread_getthreadid_np void 39*678b238cSJung-uk Kim.Sh DESCRIPTION 40*678b238cSJung-uk KimThe 41*678b238cSJung-uk Kim.Fn pthread_getthreadid_np 42*678b238cSJung-uk Kimfunction returns the unique integral ID of the calling thread. 43*678b238cSJung-uk KimIts semantics is similar to the AIX's 44*678b238cSJung-uk Kim.Fn pthread_getthreadid_np 45*678b238cSJung-uk Kimfunctuion. 46*678b238cSJung-uk Kim.Sh RETURN VALUES 47*678b238cSJung-uk KimThe 48*678b238cSJung-uk Kim.Fn pthread_getthreadid_np 49*678b238cSJung-uk Kimfunction returns the thread integral ID of the calling thread. 50*678b238cSJung-uk Kim.Sh ERRORS 51*678b238cSJung-uk KimNone. 52*678b238cSJung-uk Kim.Sh SEE ALSO 53*678b238cSJung-uk Kim.Xr pthread_self 3 54*678b238cSJung-uk Kim.Sh AUTHORS 55*678b238cSJung-uk KimThis manual page was written by 56*678b238cSJung-uk Kim.An Jung-uk Kim Aq jkim@FreeBSD.org . 57*678b238cSJung-uk Kim.\" Copyright (c) 2011 Jung-uk Kim <jkim@FreeBSD.org> 58*678b238cSJung-uk Kim.\" All rights reserved. 59*678b238cSJung-uk Kim.\" 60*678b238cSJung-uk Kim.\" Redistribution and use in source and binary forms, with or without 61*678b238cSJung-uk Kim.\" modification, are permitted provided that the following conditions 62*678b238cSJung-uk Kim.\" are met: 63*678b238cSJung-uk Kim.\" 1. Redistributions of source code must retain the above copyright 64*678b238cSJung-uk Kim.\" notice, this list of conditions and the following disclaimer. 65*678b238cSJung-uk Kim.\" 2. Redistributions in binary form must reproduce the above copyright 66*678b238cSJung-uk Kim.\" notice, this list of conditions and the following disclaimer in the 67*678b238cSJung-uk Kim.\" documentation and/or other materials provided with the distribution. 68*678b238cSJung-uk Kim.\" 69*678b238cSJung-uk Kim.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 70*678b238cSJung-uk Kim.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 71*678b238cSJung-uk Kim.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 72*678b238cSJung-uk Kim.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 73*678b238cSJung-uk Kim.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 74*678b238cSJung-uk Kim.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 75*678b238cSJung-uk Kim.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 76*678b238cSJung-uk Kim.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 77*678b238cSJung-uk Kim.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 78*678b238cSJung-uk Kim.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 79*678b238cSJung-uk Kim.\" SUCH DAMAGE. 80*678b238cSJung-uk Kim.\" 81*678b238cSJung-uk Kim.\" $FreeBSD$ 82*678b238cSJung-uk Kim.\" 83*678b238cSJung-uk Kim.Dd February 4, 2011 84*678b238cSJung-uk Kim.Dt PTHREAD_GETTHREADID_NP 3 85*678b238cSJung-uk Kim.Os 86*678b238cSJung-uk Kim.Sh NAME 87*678b238cSJung-uk Kim.Nm pthread_getthreadid_np 88*678b238cSJung-uk Kim.Nd get the calling thread's unique integral ID 89*678b238cSJung-uk Kim.Sh LIBRARY 90*678b238cSJung-uk Kim.Lb libpthread 91*678b238cSJung-uk Kim.Sh SYNOPSIS 92*678b238cSJung-uk Kim.In pthread_np.h 93*678b238cSJung-uk Kim.Ft int 94*678b238cSJung-uk Kim.Fn pthread_getthreadid_np void 95*678b238cSJung-uk Kim.Sh DESCRIPTION 96*678b238cSJung-uk KimThe 97*678b238cSJung-uk Kim.Fn pthread_getthreadid_np 98*678b238cSJung-uk Kimfunction returns the unique integral ID of the calling thread. 99*678b238cSJung-uk KimIts semantics is similar to the AIX's 100*678b238cSJung-uk Kim.Fn pthread_getthreadid_np 101*678b238cSJung-uk Kimfunctuion. 102*678b238cSJung-uk Kim.Sh RETURN VALUES 103*678b238cSJung-uk KimThe 104*678b238cSJung-uk Kim.Fn pthread_getthreadid_np 105*678b238cSJung-uk Kimfunction returns the thread integral ID of the calling thread. 106*678b238cSJung-uk Kim.Sh ERRORS 107*678b238cSJung-uk KimNone. 108*678b238cSJung-uk Kim.Sh SEE ALSO 109*678b238cSJung-uk Kim.Xr pthread_getunique_np 3 , 110*678b238cSJung-uk Kim.Xr pthread_self 3 111*678b238cSJung-uk Kim.Sh AUTHORS 112*678b238cSJung-uk KimThis manual page was written by 113*678b238cSJung-uk Kim.An Jung-uk Kim Aq jkim@FreeBSD.org . 114