summaryrefslogtreecommitdiff
path: root/luxio.c
diff options
context:
space:
mode:
authorRob Kendrick (trite) <rjek@rjek.com>2014-05-15 19:00:35 +0100
committerRob Kendrick (trite) <rjek@rjek.com>2014-05-15 19:00:35 +0100
commit30f76a4d9d10a908dce7ecfcc73a4e2c4237370b (patch)
treea9d2586366a23d292c886f208462be27d5938525 /luxio.c
parent135b5b5ba023df9ee675b82e322fe4963adc3e83 (diff)
downloadluxio-30f76a4d9d10a908dce7ecfcc73a4e2c4237370b.tar.bz2
Doc comment for posix_fadvise
Diffstat (limited to 'luxio.c')
-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)
{