Move core man pages 1M -> 8
[unleashed.git] / include / sys / ulimit.h
blob3bcb3e6533251e3aa28ae58affc2aa987d048830
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
28 /* All Rights Reserved */
30 /* Copyright (c) 1987, 1988 Microsoft Corporation */
31 /* All Rights Reserved */
33 #ifndef _SYS_ULIMIT_H
34 #define _SYS_ULIMIT_H
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
41 * The following are codes which can be
42 * passed to the ulimit system call.
45 #if defined(__EXTENSIONS__) || !defined(_XOPEN_SOURCE)
46 #define UL_GFILLIM UL_GETFSIZE /* get file limit */
47 #define UL_SFILLIM UL_SETFSIZE /* set file limit */
48 #define UL_GMEMLIM 3 /* get process size limit */
49 #define UL_GDESLIM 4 /* get file descriptor limit */
50 #endif
53 * The following are symbolic constants required for
54 * X/Open Conformance. They are the equivalents of
55 * the constants above.
58 #define UL_GETFSIZE 1 /* get file limit */
59 #define UL_SETFSIZE 2 /* set file limit */
61 #ifdef __cplusplus
63 #endif
65 #endif /* _SYS_ULIMIT_H */