Files
zinnia/include/uapi/resource.h
T
2026-10-13 23:04:30 +02:00

31 lines
625 B
C

/* SPDX-License-Identifier: Unlicense */
#ifndef __ZINNIA_UAPI_RESOURCE_H
#define __ZINNIA_UAPI_RESOURCE_H
#include <uapi/types.h>
#define __PRIO_PROCESS 0
#define __PRIO_PGRP 1
#define __PRIO_USER 2
#define __RLIMIT_CPU 0
#define __RLIMIT_FSIZE 1
#define __RLIMIT_DATA 2
#define __RLIMIT_STACK 3
#define __RLIMIT_CORE 4
#define __RLIMIT_RSS 5
#define __RLIMIT_NPROC 6
#define __RLIMIT_NOFILE 7
#define __RLIMIT_MEMLOCK 8
#define __RLIMIT_AS 9
#define __RLIMIT_NLIMITS 16
#define __RLIM_INFINITY ((__rlim_t) - 1)
struct __rlimit {
__rlim_t rlim_cur;
__rlim_t rlim_max;
};
#endif