您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
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