Package com.yahoo.nativec
Class PosixFAdvise
java.lang.Object
com.yahoo.nativec.PosixFAdvise
Gives access to the C library posix_fadvise() function.
- Author:
- baldersheim
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Throwable
init()
static int
posix_fadvise
(int fd, long offset, long len, int flag)
-
Field Details
-
POSIX_FADV_DONTNEED
public static final int POSIX_FADV_DONTNEED- See Also:
-
-
Constructor Details
-
PosixFAdvise
public PosixFAdvise()
-
-
Method Details
-
init
-
posix_fadvise
public static int posix_fadvise(int fd, long offset, long len, int flag) throws com.sun.jna.LastErrorException - Throws:
com.sun.jna.LastErrorException
-