Skip to content
Snippets Groups Projects
Commit 2284bc4a authored by Bendeguz Pisch's avatar Bendeguz Pisch Committed by Jeremy Soller
Browse files

Fix posix prio process (same as MR458 with fixed commits)

parent 4d2d062f
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ pub struct rusage { ...@@ -61,7 +61,7 @@ pub struct rusage {
pub ru_nivcsw: c_long, pub ru_nivcsw: c_long,
} }
pub const PRIO_PROGRESS: c_int = 0; pub const PRIO_PROCESS: c_int = 0;
pub const PRIO_PGRP: c_int = 1; pub const PRIO_PGRP: c_int = 1;
pub const PRIO_USER: c_int = 2; pub const PRIO_USER: c_int = 2;
......
...@@ -188,6 +188,7 @@ NAMES=\ ...@@ -188,6 +188,7 @@ NAMES=\
grp/getgrgid_r \ grp/getgrgid_r \
grp/getgrnam_r \ grp/getgrnam_r \
grp/gr_iter \ grp/gr_iter \
resource/prio_process \
# resource/getrusage # resource/getrusage
# time/times # time/times
......
#include <stdio.h>
#include <sys/resource.h>
int main(void) {
printf("PRIO_PROCESS: %d", PRIO_PROCESS);
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment