2020-06-15 07:18:57 -07:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_CALLS_STRUCT_RLIMIT_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_CALLS_STRUCT_RLIMIT_H_
|
2022-08-13 13:11:56 -07:00
|
|
|
COSMOPOLITAN_C_START_
|
2020-06-15 07:18:57 -07:00
|
|
|
|
|
|
|
struct rlimit {
|
2021-04-18 11:34:59 -07:00
|
|
|
uint64_t rlim_cur; /* current (soft) limit in bytes */
|
|
|
|
uint64_t rlim_max; /* maximum limit in bytes */
|
2020-06-15 07:18:57 -07:00
|
|
|
};
|
|
|
|
|
2024-01-09 01:26:03 -08:00
|
|
|
int getrlimit(int, struct rlimit *) libcesque;
|
|
|
|
int setrlimit(int, const struct rlimit *) libcesque;
|
2022-06-08 20:01:28 -07:00
|
|
|
|
2022-08-13 13:11:56 -07:00
|
|
|
COSMOPOLITAN_C_END_
|
2020-06-15 07:18:57 -07:00
|
|
|
#endif /* COSMOPOLITAN_LIBC_CALLS_STRUCT_RLIMIT_H_ */
|