mojave man page for pthread_threadid_np

Query: pthread_threadid_np

OS: mojave

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PTHREAD_THREADID_NP(3)					   BSD Library Functions Manual 				    PTHREAD_THREADID_NP(3)

NAME
pthread_threadid_np -- get the calling thread's unique ID
SYNOPSIS
#include <pthread.h> int pthread_threadid_np(pthread_t thread, uint64_t *thread_id);
DESCRIPTION
The pthread_threadid_np() function stores the system-wide unique integral ID of thread in the location spedified by thread_id. If thread is NULL, the ID of the current thread is provided.
RETURN VALUES
If successful, the pthread_threadid_np() function will return zero. Otherwise an error number will be returned to indicate the error.
ERRORS
The pthread_threadid_np() function will fail if: [EINVAL] NULL value for thread_id. [ESRCH] Non-existent thread thread.
SEE ALSO
pthread_self(3)
BSD
April 12, 2016 BSD
Related Man Pages
pthread_detach(3) - mojave
pthread_setschedparam(3) - mojave
pthread_join(3) - netbsd
pthread_resume_np(3) - netbsd
pthread_join(3) - osx
Similar Topics in the Unix Linux Community
Split large xml into mutiple files and with header and footer in file
Instructions to Clear Data Cache in Safari, Chrome, Firefox, Opera Browsers (Pictures)
Cannot extract libraries using sed
My first PERL incarnation... Audio Oscillograph
[BASH] eval command not expanding variables as expected.