aboutsummaryrefslogtreecommitdiff
path: root/pk/syscall.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2015-09-14 12:46:54 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2015-09-14 12:46:54 -0700
commit4a37572381acc146da66720f1f8073772f2c9119 (patch)
treeeb46aded5af6936491162048160f947ccc91051b /pk/syscall.h
parent18efb61dc4fa2f20ce54cafcf12b12545751dd43 (diff)
downloadpk-4a37572381acc146da66720f1f8073772f2c9119.zip
pk-4a37572381acc146da66720f1f8073772f2c9119.tar.gz
pk-4a37572381acc146da66720f1f8073772f2c9119.tar.bz2
Add ftruncate syscall
Diffstat (limited to 'pk/syscall.h')
-rw-r--r--pk/syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pk/syscall.h b/pk/syscall.h
index 1619e3e..bed30e9 100644
--- a/pk/syscall.h
+++ b/pk/syscall.h
@@ -38,6 +38,7 @@
#define SYS_gettimeofday 169
#define SYS_times 153
#define SYS_fcntl 25
+#define SYS_ftruncate 46
#define SYS_getdents 61
#define SYS_dup 23
#define SYS_readlinkat 78