summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--luxio.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/luxio.c b/luxio.c
index 69e86b6..04ea2f7 100644
--- a/luxio.c
+++ b/luxio.c
@@ -1886,6 +1886,15 @@ luxio_fcntl(lua_State *L) /* 6.5.2 */
}
#if _XOPEN_SOURCE >= 600 || _POSIX_C_SOURCE >= 200112L
+
+/*** Predeclare an access pattern for file data
+@tparam number fd
+@tparam number offset
+@tparam number len
+@tparam number advice
+@treturn errno
+@function posix_fadvise
+*/
static int
luxio_posix_fadvise(lua_State *L)
{