*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: pthread_main_np | Section: 3 | Source: FreeBSD | File: pthread_main_np.3.gz
PTHREAD_MAIN_NP(3) FreeBSD Library Functions Manual PTHREAD_MAIN_NP(3) NAME pthread_main_np - identify the initial thread LIBRARY POSIX Threads Library (libpthread, -lpthread) SYNOPSIS #include <pthread_np.h> int pthread_main_np(void); DESCRIPTION The pthread_main_np() function is used in userland threads environment to identify the initial thread. Its semantics is similar to the Solaris's thr_main() function. RETURN VALUES The pthread_main_np() function returns 1 if the calling thread is the initial thread, 0 if the calling thread is not the initial thread, and -1 if the thread's initialization has not yet completed. SEE ALSO pthread_create(3), pthread_equal(3), pthread_np(3), pthread_self(3) AUTHORS This manual page was written by Alexey Zelkin <[email protected]>. FreeBSD 14.1-RELEASE-p8 October 12, 2021 FreeBSD 14.1-RELEASE-p8

Navigation Options