[−][src]Function wasi::fd_advise
pub unsafe fn fd_advise(
fd: Fd,
offset: Filesize,
len: Filesize,
advice: Advice
) -> Result<()>
Provide file advisory information on a file descriptor.
Note: This is similar to posix_fadvise
in POSIX.
Parameters
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.