Skip to content

Commit 286a4fc

Browse files
committed
ffi/posix: add ftruncate & posix_fallocate
1 parent 0937ecc commit 286a4fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ffi/posix_h.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ ssize_t mq_receive(int, char *, size_t, unsigned int *);
5858
int mq_close(int);
5959
int close(int);
6060
off_t lseek(int, off_t, int);
61+
int ftruncate(int, off_t);
62+
int posix_fallocate(int, off_t, off_t);
6163
int fcntl(int, int, ...);
6264
int execl(const char *, const char *, ...);
6365
int execlp(const char *, const char *, ...);

0 commit comments

Comments
 (0)