Implemented project structure

This commit is contained in:
Fabio Scotto di Santolo
2025-11-29 18:39:57 +01:00
commit c59b4004e5
6024 changed files with 1100108 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
#ifndef _SYS_RESOURCE_H_
#define _SYS_RESOURCE_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/time.h>
#define RUSAGE_SELF 0 /* calling process */
#define RUSAGE_CHILDREN -1 /* terminated child processes */
#if __GNU_VISIBLE
#define RUSAGE_THREAD 1
#endif
struct rusage {
struct timeval ru_utime; /* user time used */
struct timeval ru_stime; /* system time used */
};
int getrusage (int, struct rusage*);
#ifdef __cplusplus
}
#endif
#endif /* !_SYS_RESOURCE_H_ */