syscalls: ftruncate

This commit is contained in:
Matheus
2023-07-09 20:48:28 -03:00
parent 7a0bd0747e
commit 1259684ccf
4 changed files with 44 additions and 7 deletions
+4 -2
View File
@@ -43,7 +43,8 @@ static char *name[] = {
"fchmodat",
"umask",
"poll",
"nanosleep"
"nanosleep",
"ftruncate"
};
static char *args[] = {
@@ -82,7 +83,8 @@ static char *args[] = {
"dirfd %d path %s mode %o flags %d", // fchmodat
"mode %o", // umask
"fds %p nfds %d timeout %d", // poll
"time %p remaining %p" // nanosleep
"time %p remaining %p", // nanosleep
"fd %d size %lu" // ftruncate
};
#endif