1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:27:35 +00:00

LibC: Add ftruncate() stub.

This commit is contained in:
Andreas Kling 2019-03-24 00:53:39 +01:00
parent eabc097dd4
commit 31871557e4
2 changed files with 6 additions and 0 deletions

View file

@ -416,4 +416,9 @@ int create_thread(int(*entry)(void*), void* argument)
__RETURN_WITH_ERRNO(rc, rc, -1);
}
int ftruncate(int fd, off_t length)
{
ASSERT_NOT_REACHED();
}
}