add rlim_t (a type of rlim_cur and rlim_max)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user