sigsend.2 (2010 09)

s
sigsend(2) sigsend(2)
RETURN VALUE
Upon successful completion, sigsend() returns a value of
0. Otherwise, it returns a value of 1 and
sets
errno to indicate the error.
ERRORS
If
sigsend() fails, it sets errno (see errno (2)) to one of the following values:
[EINVAL] sig is neither a valid signal number nor zero.
[EINVAL] idtype is not a valid value.
[EINVAL] sig is
SIGKILL, idtype is P_PID, and id is 1.
[ESRCH] No process can be found corresponding to that specified by id and idtype .
[EPERM] The user ID of the sending process is not 0, and its real or effective user ID does not
match the real or effective user ID of the receiving process, and the calling process
is not sending
SIGCONT to a process that shares the same session ID.
SEE ALSO
kill(2), signal(2).
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010