Link tst-clock_gettime with $(librt)
[glibc.git] / conform / data / sys / resource.h-data
blobcedbee1a4007a28ec111cf5046a59e1dcbfe43fe
1 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG4
2 constant PRIO_PROCESS
3 constant PRIO_PGRP
4 constant PRIO_USER
6 type rlim_t
8 constant RLIM_INFINITY
9 constant RLIM_SAVED_MAX
10 constant RLIM_SAVED_CUR
12 constant RUSAGE_SELF
13 constant RUSAGE_CHILDREN
15 type {struct rlimit}
17 element {struct rlimit} rlim_t rlim_cur
18 element {struct rlimit} rlim_t rlim_max
20 type {struct rusage}
22 element {struct rusage} {struct timeval} ru_utime
23 element {struct rusage} {struct timeval} ru_stime
25 type {struct timeval}
27 constant RLIMIT_CORE
28 constant RLIMIT_CPU
29 constant RLIMIT_DATA
30 constant RLIMIT_FSIZE
31 constant RLIMIT_NOFILE
32 constant RLIMIT_STACK
33 constant RLIMIT_AS
35 function int getpriority (int, id_t)
36 function int getrlimit (int, struct rlimit*)
37 function int getrusage (int, struct rusage*)
38 function int setpriority (int, id_t, int)
39 function int setrlimit (int, const struct rlimit*)
41 type id_t
43 allow-header sys/time.h
45 allow rlim_*
46 allow ru_*
47 allow PRIO_*
48 allow RLIM_*
49 allow RLIMIT_*
50 allow RUSAGE_*
51 allow *_t
52 #endif