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.
2 parents 675352e + 43ad09e commit eb079dfCopy full SHA for eb079df
src/unix/haiku/mod.rs
@@ -1292,6 +1292,9 @@ f! {
1292
extern "C" {
1293
pub fn getrlimit(resource: ::c_int, rlim: *mut ::rlimit) -> ::c_int;
1294
pub fn setrlimit(resource: ::c_int, rlim: *const ::rlimit) -> ::c_int;
1295
+ pub fn getpriority(which: ::c_int, who: id_t) -> ::c_int;
1296
+ pub fn setpriority(which: ::c_int, who: id_t, priority: ::c_int) -> ::c_int;
1297
+
1298
pub fn utimensat(
1299
fd: ::c_int,
1300
path: *const ::c_char,
0 commit comments