Merge branch 'fix_posix_prio_process' into 'master'
Fix posix prio process (same as MR458 with fixed commits) See merge request redox-os/relibc!459
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -188,6 +188,7 @@ NAMES=\
|
||||
grp/getgrgid_r \
|
||||
grp/getgrnam_r \
|
||||
grp/gr_iter \
|
||||
resource/prio_process \
|
||||
# resource/getrusage
|
||||
# time/times
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
#include <sys/resource.h>
|
||||
|
||||
int main(void) {
|
||||
printf("PRIO_PROCESS: %d", PRIO_PROCESS);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user