Return Values
pthread_sigmask() returns zero when it completes
successfully. Any other return value indicates that an error occurred. When
the following condition occurs, pthread_sigmask() fails
and returns the corresponding value.
-
EINVAL
-
The value of how
is not defined.