tail head cat sleep
QR code linking to this page

Manual Pages  — PTHREAD_GETTHREADID_NP

NAME

pthread_getthreadid_np – get the calling thread's integral ID

CONTENTS

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 <Mt jkim@FreeBSD.org>.

PTHREAD_GETTHREADID_NP (3) October 12, 2021

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Unix...best if used before: Tue Jan 19 03:14:08 GMT 2038