⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

signalfd_read

Function signalfd_read 

Source
pub fn signalfd_read(sfd_id: u32) -> Result<SignalfdSiginfo, SyscallError>
Expand description

Read one pending signal from a signalfd.

Returns a SignalfdSiginfo struct for the oldest pending signal in the mask, or EAGAIN/WouldBlock if no signals pending.