|
|
1.1 root 1: #ifndef __ULIMIT_H__
2: #define __ULIMIT_H__
3:
4: /*
5: * Constants for the ulimit(2) system call. Note that this header is not part
6: * of either the iBCS2 or SVR4 ABI specifications; however, the names of the
7: * constants are taken from the SVR4 Programmer's Reference Manual, where this
8: * header is described, and the numeric values taken from the SVR3
9: * Programmer's Reference, which gives numeric codes for the operations.
10: */
11:
12: #include <common/ccompat.h>
13:
14: enum {
15: UL_GETFSIZE = 1, /*
16: * Get the regular file size limit of the
17: * process in 512-byte blocks.
18: */
19: UL_SETFSIZE, /*
20: * Set the regular file size limit of the
21: * process in 512-byte blocks.
22: */
23: UL_GMEMLIM, /*
24: * Get the maximum possible brk () value.
25: */
26: UL_GDESLIM /*
27: * Get the current value of the maximum
28: * number of open file per process.
29: */
30: };
31:
32: __EXTERN_C_BEGIN__
33:
34: long ulimit __PROTO ((int _cmd, ...));
35:
36: __EXTERN_C_END__
37:
38: #endif /* ! defined (__ULIMIT_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.