int sigqueue(pid_t pid, int sig, const union sigval value);
The conditions under which a process has permission to queue a signal
to another process with
Is a process ID or process group ID.
Specifies the signal to be sent.
Is a user-specified value to be passed along with the signal to the receiving process. The receiving process can find the value by examining the si_value field of the siginfo_t structure.
There are not enough resources available to queue the signal. The process has already queued SIGQUEUE_MAX signals that are still pending at the receivers, or a system-wide resource limit has been exceeded.
The value of sig is an invalid or unsupported signal number.
The user ID of the sending process is not privileged; its real or effective user ID does not match the real or saved user ID of the receiving process. Or, the process does not have permission to send the signal to any receiving process.
No process or process group can be found that corresponds to the one that pid specifies.
POSIX Realtime Extensions.
The determination of whether the sending process has permission to send
a signal to the receiving process ignores any uid or
gid settings that have been specified with calls to
Sending the SIGKILL signal to non-NuTCRACKER Platform processes also
attempts to post a close message to a window owned by the process
specified by pid.
In cases where it is not possible to post this message, or where the
process does not exit in a timely fashion,
Sending any other signal to a non-NuTCRACKER Platform process fails with errno set to EPERM.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
bsd_signal(), getpgrp(), getpid(), kill(), killpg(), setpgrp(), setsid(), sigaction(), signal()
PTC MKS Toolkit 10.2 Documentation Build 28.