Query: thr_main
OS: sunos
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
thr_main(3C) Standard C Library Functions thr_main(3C)NAMEthr_main - identify the main threadSYNOPSIScc -mt [ flag... ] file... [ library... ] #include <thread.h> int thr_main(void);DESCRIPTIONThe thr_main() function returns one of the following: 1 if the calling thread is the main thread 0 if the calling thread is not the main thread -1 if libthread is not linked in or thread initialization has not completedFILES/lib/libthreadATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOthr_self(3C), attributes(5) SunOS 5.10 11 May 1998 thr_main(3C)
Related Man Pages |
---|
libthread(3lib) - minix |
libthread(3lib) - v7 |
libthread(3lib) - bsd |
libthread(3lib) - opendarwin |
libthread(3lib) - plan9 |
Similar Topics in the Unix Linux Community |
---|
Delete lines with a word and their above lines |
Is UNIX an open source OS ? |
How to convert number to english? |
Best performance UNIX just for HOST Virtualization? |