1#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG4 2constant PRIO_PROCESS 3constant PRIO_PGRP 4constant PRIO_USER 5 6type rlim_t 7 8constant RLIM_INFINITY 9constant RLIM_SAVED_MAX 10constant RLIM_SAVED_CUR 11 12constant RUSAGE_SELF 13constant RUSAGE_CHILDREN 14 15type {struct rlimit} 16 17element {struct rlimit} rlim_t rlim_cur 18element {struct rlimit} rlim_t rlim_max 19 20type {struct rusage} 21 22element {struct rusage} {struct timeval} ru_utime 23element {struct rusage} {struct timeval} ru_stime 24 25type {struct timeval} 26 27constant RLIMIT_CORE 28constant RLIMIT_CPU 29constant RLIMIT_DATA 30constant RLIMIT_FSIZE 31constant RLIMIT_NOFILE 32constant RLIMIT_STACK 33constant RLIMIT_AS 34 35function int getpriority (int, id_t) 36function int getrlimit (int, struct rlimit*) 37function int getrusage (int, struct rusage*) 38function int setpriority (int, id_t, int) 39function int setrlimit (int, const struct rlimit*) 40 41type id_t 42 43allow-header sys/time.h 44 45allow rlim_* 46allow ru_* 47allow PRIO_* 48allow RLIM_* 49allow RLIMIT_* 50allow RUSAGE_* 51allow *_t 52#endif 53