update from main archive 960919
[glibc.git] / sysdeps / unix / sysv / linux / m68k / resourcebits.h
blobd2f2daef91a99e54f0940cdb787340928eb97707
1 /* Bit values for resource limits. Linux/m68k version.
2 Copyright (C) 1996 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with the GNU C Library; see the file COPYING.LIB. If
17 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
18 Cambridge, MA 02139, USA. */
20 /* These are the values for Linux/m68k. */
22 /* Kinds of resource limit. */
23 enum __rlimit_resource
25 /* Per-process CPU limit, in seconds. */
26 RLIMIT_CPU,
27 #define RLIMIT_CPU RLIMIT_CPU
28 /* Largest file that can be created, in bytes. */
29 RLIMIT_FSIZE,
30 #define RLIMIT_FSIZE RLIMIT_FSIZE
31 /* Maximum size of data segment, in bytes. */
32 RLIMIT_DATA,
33 #define RLIMIT_DATA RLIMIT_DATA
34 /* Maximum size of stack segment, in bytes. */
35 RLIMIT_STACK,
36 #define RLIMIT_STACK RLIMIT_STACK
37 /* Largest core file that can be created, in bytes. */
38 RLIMIT_CORE,
39 #define RLIMIT_CORE RLIMIT_CORE
40 /* Largest resident set size, in bytes.
41 This affects swapping; processes that are exceeding their
42 resident set size will be more likely to have physical memory
43 taken from them. */
44 RLIMIT_RSS,
45 #define RLIMIT_RSS RLIMIT_RSS
46 /* Number of processes. */
47 RLIMIT_NPROC,
48 #define RLIMIT_NPROC RLIMIT_NPROC
49 /* Number of open files. */
50 RLIMIT_OFILE,
51 #define RLIMIT_OFILE RLIMIT_OFILE
52 RLIMIT_NOFILE = RLIMIT_OFILE, /* Another name for the same thing. */
53 #define RLIMIT_NOFILE RLIMIT_NOFILE
54 /* Locked-in-memory address space. */
55 RLIMIT_MEMLOCK,
56 #define RLIMIT_MEMLOCK RLIMIT_MEMLOCK
57 /* Address space limit. */
58 RLIMIT_AS,
59 #define RLIMIT_AS RLIMIT_AS
61 RLIMIT_NLIMITS, /* Number of limit flavors. */
62 RLIM_NLIMITS = RLIMIT_NLIMITS /* Traditional name for same. */