You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 satır
345B

  1. #ifndef _SYS_RESOURCE_H_
  2. #define _SYS_RESOURCE_H_
  3. #include <sys/time.h>
  4. #define RUSAGE_SELF 0 /* calling process */
  5. #define RUSAGE_CHILDREN -1 /* terminated child processes */
  6. struct rusage {
  7. struct timeval ru_utime; /* user time used */
  8. struct timeval ru_stime; /* system time used */
  9. };
  10. int getrusage (int, struct rusage*);
  11. #endif