home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 9.ddi / usr / include / sys / ulimit.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.6 KB  |  53 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef _SYS_ULIMIT_H
  11. #define _SYS_ULIMIT_H
  12.  
  13. #ident    "@(#)/usr/include/sys/ulimit.h.sl 1.1 4.0 12/08/90 14914 AT&T-USL"
  14. /*    Copyright (c) 1987, 1988 Microsoft Corporation    */
  15. /*      All Rights Reserved    */
  16.  
  17. /*    This Module contains Proprietary Information of Microsoft  */
  18. /*    Corporation and should be treated as Confidential.       */
  19.  
  20.  
  21. /*
  22.  *    @(#) ulimit.h 1.2 88/05/04 head.sys:ulimit.h
  23.  */
  24.  
  25. /*
  26.  * THIS FILE CONTAINS CODE WHICH IS DESIGNED TO BE
  27.  * PORTABLE BETWEEN DIFFERENT MACHINE ARCHITECTURES
  28.  * AND CONFIGURATIONS. IT SHOULD NOT REQUIRE ANY
  29.  * MODIFICATIONS WHEN ADAPTING XENIX TO NEW HARDWARE.
  30.  */
  31.  
  32. /*
  33.  * The following are codes which can be
  34.  * passed to the ulimit system call. (Xenix compatible.)
  35.  */
  36.  
  37. #define UL_GFILLIM    1    /* get file limit */
  38. #define UL_SFILLIM    2    /* set file limit */
  39. #define UL_GMEMLIM    3    /* get process size limit */
  40. #define UL_GDESLIM    4    /* get file descriptor limit */
  41. #define UL_GTXTOFF    64    /* get text offset */
  42.  
  43. /*
  44.  * The following are symbolic constants required for
  45.  * X/Open Conformance.   They are the equivalents of
  46.  * the constants above.
  47.  */
  48.  
  49. #define UL_GETFSIZE    UL_GFILLIM    /* get file limit */
  50. #define UL_SETFSIZE    UL_SFILLIM    /* set file limit */
  51.  
  52. #endif        /* _SYS_ULIMIT_H */
  53.