The sighold () function adds a signal sig to the signal mask of the calling process. sighold will return 0 upon successful completion. If the function is passed an illegal signal number, then errno will be set to [EINVAL], and sighold() will return -1.