typedef unsigned long long rlim_t;
-struct rlimit
-{
+struct rlimit {
rlim_t rlim_cur;
rlim_t rlim_max;
};
-struct rusage
-{
+struct rusage {
struct timeval ru_utime;
struct timeval ru_stime;
/* linux extentions, but useful */
#define RLIMIT_MSGQUEUE 12
#define RLIMIT_NICE 13
#define RLIMIT_RTPRIO 14
-#define RLIMIT_NLIMITS 15
+#define RLIMIT_RTTIME 15
+#define RLIMIT_NLIMITS 16
#define RLIM_NLIMITS RLIMIT_NLIMITS
#define rlim64_t rlim_t
#endif
+#if _REDIR_TIME64
+__REDIR(getrusage, __getrusage_time64);
+#endif
+
#ifdef __cplusplus
}
#endif