Skip to content

Commit

Permalink
Auto merge of #3214 - devnexen:redox_further_missing_calls, r=JohnTitor
Browse files Browse the repository at this point in the history
redox adding few calls.
  • Loading branch information
bors committed Apr 22, 2023
2 parents c2f0f71 + 8cdf397 commit 1218a60
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/unix/redox/mod.rs
Expand Up @@ -1104,6 +1104,15 @@ extern "C" {

// strings.h
pub fn explicit_bzero(p: *mut ::c_void, len: ::size_t);

pub fn getpriority(which: ::c_int, who: ::id_t) -> ::c_int;
pub fn setpriority(which: ::c_int, who: ::id_t, prio: ::c_int) -> ::c_int;

pub fn getsubopt(
optionp: *mut *mut c_char,
tokens: *const *mut c_char,
valuep: *mut *mut c_char,
) -> c_int;
}

cfg_if! {
Expand Down

0 comments on commit 1218a60

Please sign in to comment.