sivalptr
Sivalptr refers to the sival_ptr member of the POSIX sigval union, used in real-time signal delivery to pass a pointer value alongside a signal. The sigval type is defined to hold either an integer value or a pointer, with sival_ptr being the void pointer variant. This mechanism is commonly employed with the sigqueue API and related real-time signaling interfaces.
In practice, a program constructs a sigval value, assigns a pointer to sival_ptr, and delivers it with
Usage considerations include ensuring the pointed-to object remains valid for the duration of its use in the
Portability notes: sival_ptr is defined by POSIX as part of the sigval union, and is widely supported
See also: sigval, sigqueue, SA_SIGINFO, siginfo_t, real-time signals.
In summary, sivalptr (sival_ptr) is the pointer-bearing portion of the sigval union used to transmit a data