We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4cccf9 commit 6446dadCopy full SHA for 6446dad
src/unix/redox/mod.rs
@@ -47,6 +47,7 @@ pub type speed_t = u32;
47
pub type suseconds_t = ::c_int;
48
pub type tcflag_t = u32;
49
pub type time_t = ::c_longlong;
50
+pub type id_t = ::c_uint;
51
52
#[cfg_attr(feature = "extra_traits", derive(Debug))]
53
pub enum timezone {}
@@ -1104,6 +1105,15 @@ extern "C" {
1104
1105
1106
// strings.h
1107
pub fn explicit_bzero(p: *mut ::c_void, len: ::size_t);
1108
+
1109
+ pub fn getpriority(which: ::c_int, who: ::id_t) -> ::c_int;
1110
+ pub fn setpriority(which: ::c_int, who: ::id_t, prio: ::c_int) -> ::c_int;
1111
1112
+ pub fn getsubopt(
1113
+ optionp: *mut *mut c_char,
1114
+ tokens: *const *mut c_char,
1115
+ valuep: *mut *mut c_char,
1116
+ ) -> ::c_int;
1117
}
1118
1119
cfg_if! {
0 commit comments