read_siginfo

Function read_siginfo 

Source
pub fn read_siginfo(
    current_task: &CurrentTask,
    signal: Signal,
    siginfo_ref: UserAddress,
) -> Result<SignalInfo, Errno>
Expand description

Reads a siginfo_t structure from the given userspace address.

§Args

  • current_task: The task from which to read the memory.
  • signal: The signal that the siginfo_t structure is for.
  • siginfo_ref: The userspace address of the siginfo_t structure.

§Returns

The SignalInfo structure read from userspace.