From f8db1a0f47434ce70e3f52a96dffe22ce36fe03e Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Wed, 17 Jan 2018 18:04:35 +0100 Subject: [PATCH] Adds Linux's getauxval Closes #874 . --- src/unix/notbsd/linux/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/notbsd/linux/mod.rs b/src/unix/notbsd/linux/mod.rs index 6ab171d4..94774136 100644 --- a/src/unix/notbsd/linux/mod.rs +++ b/src/unix/notbsd/linux/mod.rs @@ -1363,6 +1363,7 @@ extern { len: ::off_t) -> ::c_int; pub fn readahead(fd: ::c_int, offset: ::off64_t, count: ::size_t) -> ::ssize_t; + pub fn getauxval(type_: ::c_ulong) -> ::c_ulong; pub fn getxattr(path: *const c_char, name: *const c_char, value: *mut ::c_void, size: ::size_t) -> ::ssize_t; pub fn lgetxattr(path: *const c_char, name: *const c_char,