diff options
author | Alex Crichton <alex@alexcrichton.com> | 2016-01-31 20:29:05 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2016-01-31 20:29:05 -0800 |
commit | 28b526aa9d6552b9b917c7e5d47d2bad436ab53f (patch) | |
tree | 8043274715f7f33ef5a8a20b2c7e8d646049918d | |
parent | 30f70baa6cc1ba3ddebb55b988fafbad0c0cc810 (diff) | |
parent | d81e4a0ad89d8d9460dbede5446eddd4b0297450 (diff) | |
download | rust-libc-28b526aa9d6552b9b917c7e5d47d2bad436ab53f.tar.gz |
Merge pull request #167 from lambda/add-abort
Add abort
-rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs index 3f3133fafc..bcb83fcb5d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -206,6 +206,7 @@ extern { pub fn malloc(size: size_t) -> *mut c_void; pub fn realloc(p: *mut c_void, size: size_t) -> *mut c_void; pub fn free(p: *mut c_void); + pub fn abort() -> !; pub fn exit(status: c_int) -> !; pub fn _exit(status: c_int) -> !; pub fn atexit(cb: extern fn()) -> c_int; |