summaryrefslogtreecommitdiff
path: root/scalls/ftruncate.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-24 20:16:04 +0200
committerAnton Kling <anton@kling.gg>2023-10-24 20:16:04 +0200
commitba1952bf4c08b7783854d501ba30815a2aa2574c (patch)
tree0ec3e1efde111c336568b8804cbb0eeefa389080 /scalls/ftruncate.h
parent11292853de086dce7d443d5f80bf5a0e8ffc0335 (diff)
Add ftruncate syscalls that I forgot to add
Diffstat (limited to 'scalls/ftruncate.h')
-rw-r--r--scalls/ftruncate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scalls/ftruncate.h b/scalls/ftruncate.h
new file mode 100644
index 0000000..9213e85
--- /dev/null
+++ b/scalls/ftruncate.h
@@ -0,0 +1,2 @@
+#include <stddef.h>
+int syscall_ftruncate(int fd, size_t length);