We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c4f6c4 commit 41ee5d0Copy full SHA for 41ee5d0
src/unix/mod.rs
@@ -641,6 +641,7 @@ extern {
641
pub fn symlink(path1: *const c_char,
642
path2: *const c_char) -> ::c_int;
643
644
+ pub fn truncate(path: *const c_char, length: off_t) -> ::c_int;
645
pub fn ftruncate(fd: ::c_int, length: off_t) -> ::c_int;
646
647
pub fn signal(signum: ::c_int, handler: sighandler_t) -> sighandler_t;
0 commit comments