Skip to content

Commit db6ef14

Browse files
authored
Merge pull request #3738 from operutka/getauxval_uclibc
Add missing getauxval for Linux uClibc targets
2 parents f43e101 + 3940851 commit db6ef14

File tree

1 file changed

+1
-0
lines changed
  • src/unix/linux_like/linux/uclibc

1 file changed

+1
-0
lines changed

src/unix/linux_like/linux/uclibc/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ extern "C" {
432432
pub fn setrlimit(resource: ::__rlimit_resource_t, rlim: *const ::rlimit) -> ::c_int;
433433
pub fn getpriority(which: ::__priority_which_t, who: ::id_t) -> ::c_int;
434434
pub fn setpriority(which: ::__priority_which_t, who: ::id_t, prio: ::c_int) -> ::c_int;
435+
pub fn getauxval(type_: ::c_ulong) -> ::c_ulong;
435436
}
436437

437438
cfg_if! {

0 commit comments

Comments
 (0)