Return Values
Returns zero after completing successfully. Any other returned value indicates that an error occurred. When either of the following conditions occurs, the function fails and returns the corresponding value.
-
EINVAL
-
An attempt was made to set tattr to a value that is not valid.
-
ENOTSUP
-
An attempt was made to set the attribute to an unsupported value.