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 fdThe file descriptor the advice applies toFilesize offsetThe offset from which the advice appliesFilesize lenThe length from the offset to which the advice applies__wasi_advice_t adviceThe advice to give