toaruos/libc/unistd/truncate.c

10 lines
143 B
C
Raw Normal View History

2021-03-19 05:25:10 +03:00
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
int truncate(const char * path, off_t length) {
errno = EINVAL;
return -1;
}