FD_ADVISE

Provide file advisory information on a file descriptor. Note: This is similar to posix_fadvise in POSIX.

(@interface func (export "fd_advise")
(param $fd $fd)
;;; The offset within the file to which the advisory applies.
(param $offset $filesize)
;;; The length of the region to which the advisory applies.
(param $len $filesize)
;;; The advice.
(param $advice $advice)
(result $error (expected (error $errno)))
)