home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / GNU_1OF3.ZIP / HEADERS.ZIP / g++-include / sys / resource.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-22  |  630 b   |  32 lines

  1. #ifndef __libgxx_sys_resource_h
  2.  
  3. #ifndef USG
  4.  
  5. extern "C"
  6. {
  7. #ifdef __sys_resource_h_recursive
  8. #include_next <sys/resource.h>
  9. #else
  10. #define __sys_resource_h_recursive
  11. #include <sys/time.h>
  12.  
  13. #ifdef VMS
  14. #include "GNU_CC_INCLUDE:[sys]resource.h"
  15. #else
  16. #include_next <sys/resource.h>
  17. #endif
  18.  
  19. #define __libgxx_sys_resource_h 1
  20.  
  21. int getrusage(int, struct rusage*);
  22. int getrlimit (int resource, struct rlimit *rlp);
  23. int setrlimit (int resource, const struct rlimit *rlp);
  24. long      ulimit(int, long);
  25. int       getpriority(int, int);
  26. int       setpriority(int, int, int);
  27. #endif
  28. }
  29.  
  30. #endif /* USG */
  31. #endif 
  32.