Skip to content
Snippets Groups Projects
Commit dc9f3e20 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

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
parents 4d2d062f 2284bc4a
No related branches found
No related tags found
No related merge requests found
Pipeline #14455 passed
...@@ -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