]> git.ipfire.org Git - thirdparty/glibc.git/blob - conform/data/sys/resource.h-data
conformtest: correct set of standards for which some headers are tested.
[thirdparty/glibc.git] / conform / data / sys / resource.h-data
1 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG3
2 constant PRIO_PROCESS
3 constant PRIO_PGRP
4 constant PRIO_USER
5
6 type rlim_t
7
8 constant RLIM_INFINITY
9 constant RLIM_SAVED_MAX
10 constant RLIM_SAVED_CUR
11
12 constant RUSAGE_SELF
13 constant RUSAGE_CHILDREN
14
15 type {struct rlimit}
16
17 element {struct rlimit} rlim_t rlim_cur
18 element {struct rlimit} rlim_t rlim_max
19
20 type {struct rusage}
21
22 element {struct rusage} {struct timeval} ru_utime
23 element {struct rusage} {struct timeval} ru_stime
24
25 type {struct timeval}
26
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
34
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*)
40
41 type id_t
42
43 allow-header sys/time.h
44
45 allow rlim_*
46 allow ru_*
47 allow PRIO_*
48 allow RLIM_*
49 allow RLIMIT_*
50 allow RUSAGE_*
51 allow *_t
52 #endif