Type Alias OptionalPtr

Source
pub type OptionalPtr<T> = *const T;
Expand description

A nullable imuttable pointer to T

garuanteed to be accepted by the syscall if it is null, however the syscall will return [ErrorStatus::InvaildPtr] if it is not aligned to align_of::<T>()

this is typically for the syscall to return optional values