5 留意 sigqueue int sigqueue(pid_t pid, int sig, const union sigval value) ===> queue a signal and data to a process typedef union sigval { int sigval_int; void *sigval_ptr; } sigval_t;
If the receiving process has installed a hanlder for this signal using the SA_SIGINFO flag to sigaction, then it can obtain this data via the si_value feild of the siginfo_t structure passed as the second argument to the handler。