diff options
Diffstat (limited to 'userland/libc/libc.c')
-rw-r--r-- | userland/libc/libc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/userland/libc/libc.c b/userland/libc/libc.c index 90c0323..e2f064d 100644 --- a/userland/libc/libc.c +++ b/userland/libc/libc.c @@ -315,8 +315,3 @@ int shm_open(const char *name, int oflag, mode_t mode) { }; RC_ERRNO(syscall(SYS_SHM_OPEN, &args, 0, 0, 0, 0)); } - -int ftruncate(int fildes, uint64_t length) { - SYS_FTRUNCATE_PARAMS args = {.fildes = fildes, .length = length}; - RC_ERRNO(syscall(SYS_FTRUNCATE, &args, 0, 0, 0, 0)); -} |