Multithreaded Programming Guide

Return Values

The calling thread terminates with its exit status set to the contents of status if status is not NULL.