pub fn fd_advise(
ctx: FunctionEnvMut<'_, WasiEnv>,
fd: Fd,
offset: Filesize,
len: Filesize,
advice: Advice,
) -> Result<Errno, WasiError>
Expand description
§fd_advise()
Advise the system about how a file will be used Inputs:
Fd fd
The file descriptor the advice applies toFilesize offset
The offset from which the advice appliesFilesize len
The length from the offset to which the advice applies__wasi_advice_t advice
The advice to give