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.
2 parents 9c4f6c4 + 41ee5d0 commit c75ca64Copy full SHA for c75ca64
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