abis: Commit missing resource.h

This commit is contained in:
Alexander van der Grinten 2020-05-12 19:46:58 +02:00
parent 4d9d7718ea
commit df72f8a806
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,25 @@
#ifndef _ABIBITS_RESOURCE_H
#define _ABIBITS_RESOURCE_H
#include <bits/posix/timeval.h>
struct rusage {
struct timeval ru_utime;
struct timeval ru_stime;
long ru_maxrss;
long ru_ixrss;
long ru_idrss;
long ru_isrss;
long ru_minflt;
long ru_majflt;
long ru_nswap;
long ru_inblock;
long ru_oublock;
long ru_msgsnd;
long ru_msgrcv;
long ru_nsignals;
long ru_nvcsw;
long ru_nivcsw;
};
#endif // _ABIBITS_RESOURCE_H

11
abis/mlibc/resource.h Normal file
View file

@ -0,0 +1,11 @@
#ifndef _ABIBITS_RESOURCE_H
#define _ABIBITS_RESOURCE_H
#include <bits/posix/timeval.h>
struct rusage {
struct timeval ru_utime;
struct timeval ru_stime;
};
#endif // _ABIBITS_RESOURCE_H