Skip to content
Snippets Groups Projects
Commit c75ca646 authored by bors's avatar bors
Browse files

Auto merge of #1096 - jmmv:truncate, r=alexcrichton

Add truncate(2) to Unix platforms
parents 9c4f6c4f 41ee5d06
No related branches found
No related tags found
No related merge requests found
......@@ -641,6 +641,7 @@ extern {
pub fn symlink(path1: *const c_char,
path2: *const c_char) -> ::c_int;
pub fn truncate(path: *const c_char, length: off_t) -> ::c_int;
pub fn ftruncate(fd: ::c_int, length: off_t) -> ::c_int;
pub fn signal(signum: ::c_int, handler: sighandler_t) -> sighandler_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment