home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / NextDeveloper / Headers / bsd / sys / vlimit.h < prev    next >
C/C++ Source or Header  |  1993-10-19  |  1KB  |  45 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1989 Carnegie-Mellon University
  4.  * All rights reserved.  The CMU software License Agreement specifies
  5.  * the terms and conditions for use and redistribution.
  6.  */
  7. /*
  8.  * HISTORY
  9.  * $Log:    vlimit.h,v $
  10.  * Revision 2.3  89/03/09  22:10:43  rpd
  11.  *     More cleanup.
  12.  * 
  13.  * Revision 2.2  89/02/25  17:58:44  gm0w
  14.  *     Changes for cleanup.
  15.  * 
  16.  */
  17. /*
  18.  * Copyright (c) 1982, 1986 Regents of the University of California.
  19.  * All rights reserved.  The Berkeley software License Agreement
  20.  * specifies the terms and conditions for redistribution.
  21.  *
  22.  *    @(#)vlimit.h    7.1 (Berkeley) 6/4/86
  23.  */
  24.  
  25. #ifndef    _SYS_VLIMIT_H_
  26. #define _SYS_VLIMIT_H_
  27.  
  28. /*
  29.  * Limits for u.u_limit[i], per process, inherited.
  30.  */
  31.  
  32. #define LIM_NORAISE    0    /* if <> 0, can't raise limits */
  33. #define LIM_CPU        1    /* max secs cpu time */
  34. #define LIM_FSIZE    2    /* max size of file created */
  35. #define LIM_DATA    3    /* max growth of data space */
  36. #define LIM_STACK    4    /* max growth of stack */
  37. #define LIM_CORE    5    /* max size of ``core'' file */
  38. #define LIM_MAXRSS    6    /* max desired data+stack core usage */
  39.  
  40. #define NLIMITS        6
  41.  
  42. #define INFINITY    0x7fffffff
  43.  
  44. #endif    _SYS_VLIMIT_H_
  45.