source:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/unistd/truncate.c@
337
Last change on this file since 337 was 337, checked in by , 6 years ago | |
---|---|
|
|
File size: 188 bytes |
Rev | Line | |
---|---|---|
[337] | 1 | #include <unistd.h> |
2 | #include "syscall.h" | |
3 | #include "libc.h" | |
4 | ||
5 | int truncate(const char *path, off_t length) | |
6 | { | |
7 | return syscall(SYS_truncate, path, __SYSCALL_LL_O(length)); | |
8 | } | |
9 | ||
10 | LFS64(truncate); |
Note:
See TracBrowser
for help on using the repository browser.