add rlim_t (a type of rlim_cur and rlim_max)

This commit is contained in:
NAKAMURA Gou
2016-03-10 20:19:03 +09:00
parent 48167d3223
commit b3ae7f46bd

View File

@@ -13,9 +13,11 @@
#ifndef __GENERIC_RLIMIT_H
#define __GENERIC_RLIMIT_H
typedef uint64_t rlim_t;
struct rlimit {
uint64_t rlim_cur; /* Soft limit */
uint64_t rlim_max; /* Hard limit (ceiling for rlim_cur) */
rlim_t rlim_cur; /* Soft limit */
rlim_t rlim_max; /* Hard limit (ceiling for rlim_cur) */
};
#endif