LibC: Add ru_maxrss to struct rusage
This is not required by posix but some ports use it
This commit is contained in:
parent
6f8d850726
commit
6facd54a7e
|
|
@ -28,14 +28,15 @@ typedef unsigned int rlim_t;
|
|||
|
||||
struct rlimit
|
||||
{
|
||||
rlim_t rlim_cur; /* The current (soft) limit. */
|
||||
rlim_t rlim_max; /* The hard limit. */
|
||||
rlim_t rlim_cur; /* The current (soft) limit. */
|
||||
rlim_t rlim_max; /* The hard limit. */
|
||||
};
|
||||
|
||||
struct rusage
|
||||
{
|
||||
struct timeval ru_utime; /* User time used. */
|
||||
struct timeval ru_stime; /* System time used. */
|
||||
struct timeval ru_utime; /* User time used. */
|
||||
struct timeval ru_stime; /* System time used. */
|
||||
long ru_maxrss; /* Maximum resident set size (in kilobytes). */
|
||||
};
|
||||
|
||||
#define RLIMIT_CORE 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue