home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / armlinux / alpha / PARTITIONS / USR_GZ / usr / include / sys / resource.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-14  |  676 b   |  30 lines

  1. /*
  2.  * Resource control/accounting header file for linux
  3.  */
  4.  
  5. #ifndef _SYS_RESOURCE_H
  6. #define _SYS_RESOURCE_H
  7.  
  8. #include <features.h>
  9. #include <sys/time.h>
  10. #include <limits.h>
  11. #include <linux/resource.h>
  12.  
  13. __BEGIN_DECLS
  14.  
  15. extern int    getrlimit __P ((int __resource,
  16.             struct rlimit *__rlp));
  17. extern int    setrlimit __P ((int __resource,
  18.             __const struct rlimit *__rlp));
  19.  
  20. extern int      getpriority __P((int __which, int __who));
  21. extern int      setpriority __P((int __which, int __who,
  22.             int __prio));
  23.  
  24. extern int    __getrusage __P ((int __who, struct rusage *__rusage));
  25. extern int    getrusage __P ((int __who, struct rusage *__rusage));
  26.  
  27. __END_DECLS
  28.  
  29. #endif /* _SYS_RESOURCE_H */
  30.