Skip to main content

SYS_READ

Constant SYS_READ 

Source
pub const SYS_READ: usize = 405; // 405usize
Expand description

Read data from a file descriptor.

  • fd: file descriptor
  • buf_ptr: buffer to receive the data
  • buf_len: maximum number of bytes to read

Returns the number of bytes actually read (0 = end of file).