Multithreaded Programming Guide

pthread_attr_setinheritsched Return Values

pthread_attr_setinheritsched() returns zero after completing successfully. Any other return value indicates that an error occurred. When either of the following conditions occurs, the function fails and returns the corresponding value.


EINVAL

Description:

An attempt was made to set tattr to a value that is not valid.