Function file_advise

Source
pub unsafe fn file_advise(
    fd_: fd,
    offset_: filesize,
    len_: filesize,
    advice_: advice,
) -> errno
Expand description

Provides file advisory information on a file descriptor.

ยงParameters

fd: The file descriptor for which to provide file advisory information.

offset: The offset within the file to which the advisory applies.

len: The length of the region to which the advisory applies.

advice: The advice.