cc -mt [ flag... ] file... [ library... ] #include <thread.h>
The thr_main() function returns one of the following:
See attributes(5) for descriptions of the following attributes:
thr_self(3THR), attributes(5)