Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PTHREAD_GETTHREADID... FreeBSD Library Functions Manual	PTHREAD_GETTHREADID...

NAME
     pthread_getthreadid_np -- get the calling thread's	integral ID

LIBRARY
     POSIX Threads Library (libpthread,	-lpthread)

SYNOPSIS
     #include <pthread_np.h>

     int
     pthread_getthreadid_np(void);

DESCRIPTION
     The pthread_getthreadid_np() function returns the unique integral ID of
     the calling thread.  Its semantics	is similar to the AIX's
     pthread_getthreadid_np() function.

RETURN VALUES
     The pthread_getthreadid_np() function returns the thread integral ID of
     the calling thread.

ERRORS
     None.

SEE ALSO
     pthread_np(3), pthread_self(3)

AUTHORS
     This manual page was written by Jung-uk Kim <jkim@FreeBSD.org>.

FreeBSD	13.0		       October 12, 2021			  FreeBSD 13.0

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | ERRORS | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=pthread_getthreadid_np&sektion=3&manpath=FreeBSD+13.2-RELEASE+and+Ports>

home | help