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

This commit is contained in:
Bendeguz Pisch
2024-03-04 13:41:43 +00:00
committed by Jeremy Soller
parent 4d2d062f07
commit 2284bc4af5
3 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ pub struct rusage {
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_USER: c_int = 2;
+1
View File
@@ -188,6 +188,7 @@ NAMES=\
grp/getgrgid_r \
grp/getgrnam_r \
grp/gr_iter \
resource/prio_process \
# resource/getrusage
# time/times
+8
View File
@@ -0,0 +1,8 @@
#include <stdio.h>
#include <sys/resource.h>
int main(void) {
printf("PRIO_PROCESS: %d", PRIO_PROCESS);
return 0;
}