|
NAMEVOP_ADVISE —
apply advice about use of file data
SYNOPSIS#include <sys/param.h>
#include <sys/vnode.h>
int
DESCRIPTIONThis call applies advice for a range of a file's data. It is used to implement the posix_fadvise system call.Its arguments are:
If the start and end offsets are both zero, then the operation should be applied to the entire file. Note that this call is advisory only and may perform the requested operation on a subset of the requested range (including not performing it at all) and still return success. LOCKSThe file should be unlocked on entry.RETURN VALUESZero is returned if the call is successful, otherwise an appropriate error code is returned.ERRORS
SEE ALSOvnode(9)
Visit the GSP FreeBSD Man Page Interface. |