aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/linux/mips64.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-08-16 11:08:56 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-08-18 07:27:23 +0200
commited9a502dffa8db45ef2f73edcbd20c52e26c548f (patch)
treef836777fda4ccc9ec39a3b6cc9247d8c5f098a2d /lib/std/os/linux/mips64.zig
parentd4973c992203ed6fb761d3f3b871dd9849541b5a (diff)
downloadzig-ed9a502dffa8db45ef2f73edcbd20c52e26c548f.tar.gz
zig-ed9a502dffa8db45ef2f73edcbd20c52e26c548f.zip
std.os.linux: Fix rlimit_resource for mips64; move out of arch bits.
It is usually generic, so no point having it in arch bits.
Diffstat (limited to 'lib/std/os/linux/mips64.zig')
-rw-r--r--lib/std/os/linux/mips64.zig60
1 files changed, 0 insertions, 60 deletions
diff --git a/lib/std/os/linux/mips64.zig b/lib/std/os/linux/mips64.zig
index 068e15d8db..d3cf7b143b 100644
--- a/lib/std/os/linux/mips64.zig
+++ b/lib/std/os/linux/mips64.zig
@@ -355,66 +355,6 @@ pub const timezone = extern struct {
pub const Elf_Symndx = u32;
-pub const rlimit_resource = enum(c_int) {
- /// Per-process CPU limit, in seconds.
- CPU,
-
- /// Largest file that can be created, in bytes.
- FSIZE,
-
- /// Maximum size of data segment, in bytes.
- DATA,
-
- /// Maximum size of stack segment, in bytes.
- STACK,
-
- /// Largest core file that can be created, in bytes.
- CORE,
-
- /// Number of open files.
- NOFILE,
-
- /// Address space limit.
- AS,
-
- /// Largest resident set size, in bytes.
- /// This affects swapping; processes that are exceeding their
- /// resident set size will be more likely to have physical memory
- /// taken from them.
- RSS,
-
- /// Number of processes.
- NPROC,
-
- /// Locked-in-memory address space.
- MEMLOCK,
-
- /// Maximum number of file locks.
- LOCKS,
-
- /// Maximum number of pending signals.
- SIGPENDING,
-
- /// Maximum bytes in POSIX message queues.
- MSGQUEUE,
-
- /// Maximum nice priority allowed to raise to.
- /// Nice levels 19 .. -20 correspond to 0 .. 39
- /// values of this resource limit.
- NICE,
-
- /// Maximum realtime priority allowed for non-privileged
- /// processes.
- RTPRIO,
-
- /// Maximum CPU time in µs that a process scheduled under a real-time
- /// scheduling policy may consume without making a blocking system
- /// call before being forcibly descheduled.
- RTTIME,
-
- _,
-};
-
/// TODO
pub const ucontext_t = void;