diff options
author | Joe Richey <joerichey@google.com> | 2019-07-09 00:19:23 -0700 |
---|---|---|
committer | Joe Richey <joerichey@google.com> | 2019-07-10 18:04:48 -0700 |
commit | aa3578fa8551a1b38985b166aee93bb03003b58b (patch) | |
tree | 175fd895fb4c9b56fcae66f487460f7f2dd08625 /src/unix/haiku | |
parent | 54b03c53fb8e70bcce87dc26d8795c995e41061f (diff) | |
download | rust-libc-aa3578fa8551a1b38985b166aee93bb03003b58b.tar.gz |
Add __errno_location on Redox, DragonFlyBSD, Haiku
Diffstat (limited to 'src/unix/haiku')
-rw-r--r-- | src/unix/haiku/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/haiku/mod.rs b/src/unix/haiku/mod.rs index 7bb3285a2e..d3e83f109e 100644 --- a/src/unix/haiku/mod.rs +++ b/src/unix/haiku/mod.rs @@ -1267,6 +1267,7 @@ extern { pub fn setrlimit(resource: ::c_int, rlim: *const ::rlimit) -> ::c_int; pub fn strerror_r(errnum: ::c_int, buf: *mut c_char, buflen: ::size_t) -> ::c_int; + pub fn _errnop() -> *mut libc::c_int; pub fn abs(i: ::c_int) -> ::c_int; pub fn atof(s: *const ::c_char) -> ::c_double; |