2020-06-15 14:18:57 +00:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_RLIMIT_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_RLIMIT_H_
|
|
|
|
#include "libc/runtime/symbolic.h"
|
|
|
|
|
2021-04-18 18:34:59 +00:00
|
|
|
#define RLIMIT_AS SYMBOLIC(RLIMIT_AS)
|
|
|
|
#define RLIMIT_CORE SYMBOLIC(RLIMIT_CORE)
|
|
|
|
#define RLIMIT_CPU SYMBOLIC(RLIMIT_CPU)
|
|
|
|
#define RLIMIT_DATA SYMBOLIC(RLIMIT_DATA)
|
|
|
|
#define RLIMIT_FSIZE SYMBOLIC(RLIMIT_FSIZE)
|
|
|
|
#define RLIMIT_LOCKS SYMBOLIC(RLIMIT_LOCKS)
|
|
|
|
#define RLIMIT_MEMLOCK SYMBOLIC(RLIMIT_MEMLOCK)
|
|
|
|
#define RLIMIT_MSGQUEUE SYMBOLIC(RLIMIT_MSGQUEUE)
|
|
|
|
#define RLIMIT_NICE SYMBOLIC(RLIMIT_NICE)
|
|
|
|
#define RLIMIT_NOFILE SYMBOLIC(RLIMIT_NOFILE)
|
|
|
|
#define RLIMIT_NPROC SYMBOLIC(RLIMIT_NPROC)
|
2021-08-12 07:42:14 +00:00
|
|
|
#define RLIMIT_NPTS SYMBOLIC(RLIMIT_NPTS)
|
2021-04-18 18:34:59 +00:00
|
|
|
#define RLIMIT_RSS SYMBOLIC(RLIMIT_RSS)
|
|
|
|
#define RLIMIT_RTPRIO SYMBOLIC(RLIMIT_RTPRIO)
|
2021-08-12 07:42:14 +00:00
|
|
|
#define RLIMIT_RTTIME SYMBOLIC(RLIMIT_RTTIME)
|
|
|
|
#define RLIMIT_SBSIZE SYMBOLIC(RLIMIT_SBSIZE)
|
2020-06-15 14:18:57 +00:00
|
|
|
#define RLIMIT_SIGPENDING SYMBOLIC(RLIMIT_SIGPENDING)
|
2021-04-18 18:34:59 +00:00
|
|
|
#define RLIMIT_STACK SYMBOLIC(RLIMIT_STACK)
|
2021-08-12 07:42:14 +00:00
|
|
|
#define RLIMIT_SWAP SYMBOLIC(RLIMIT_SWAP)
|
2021-04-18 18:34:59 +00:00
|
|
|
#define RLIMIT_VMEM SYMBOLIC(RLIMIT_VMEM)
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
2021-02-08 12:04:42 +00:00
|
|
|
extern const long RLIMIT_AS;
|
|
|
|
extern const long RLIMIT_CORE;
|
|
|
|
extern const long RLIMIT_CPU;
|
|
|
|
extern const long RLIMIT_DATA;
|
|
|
|
extern const long RLIMIT_FSIZE;
|
|
|
|
extern const long RLIMIT_LOCKS;
|
|
|
|
extern const long RLIMIT_MEMLOCK;
|
|
|
|
extern const long RLIMIT_MSGQUEUE;
|
|
|
|
extern const long RLIMIT_NICE;
|
|
|
|
extern const long RLIMIT_NOFILE;
|
|
|
|
extern const long RLIMIT_NPROC;
|
2021-08-12 07:42:14 +00:00
|
|
|
extern const long RLIMIT_NPTS;
|
2021-02-08 12:04:42 +00:00
|
|
|
extern const long RLIMIT_RSS;
|
|
|
|
extern const long RLIMIT_RTPRIO;
|
2021-08-12 07:42:14 +00:00
|
|
|
extern const long RLIMIT_RTTIME;
|
|
|
|
extern const long RLIMIT_SBSIZE;
|
2021-02-08 12:04:42 +00:00
|
|
|
extern const long RLIMIT_SIGPENDING;
|
|
|
|
extern const long RLIMIT_STACK;
|
2021-08-12 07:42:14 +00:00
|
|
|
extern const long RLIMIT_SWAP;
|
2021-04-18 18:34:59 +00:00
|
|
|
extern const long RLIMIT_VMEM;
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_RLIMIT_H_ */
|