Name
pthread_attr_setdetachstate --
Description
The pthread_attr_setdetachstate
function sets the detachstate attribute in referenced attr
object.
Returns
The pthread_attr_setdetachstate
function returns zero if the call is successful,
otherwise it sets errno to EINVAL and returns -1.
Implementation Notes
None