0 Upon successful completion, sigwait stores the signal number of the received signal at the location referenced by sig and returns 0. nonzero Indicates that an error occurred; errno is set to the following value: o EINVAL - The set argument contains an invalid or unsupported signal number.