On Tue, Dec 22, 1998 at 01:21:04AM +0900, Niko D. Barli wrote:
> 
> #define RLIMIT_CPU      0               /* CPU time in ms */
> #define RLIMIT_FSIZE    1               /* Maximum filesize */
> #define RLIMIT_DATA     2               /* max data size */
> #define RLIMIT_STACK    3               /* max stack size */
> #define RLIMIT_CORE     4               /* max core file size */
> #define RLIMIT_RSS      5               /* max resident set size */
> #define RLIMIT_NPROC    6               /* max number of processes */
> #define RLIMIT_NOFILE   7               /* max number of open files */
> #define RLIMIT_MEMLOCK  8               /* max locked-in-memory address space */
> #define RLIMIT_AS       9               /* address space limit */
> 
> #define RLIM_NLIMITS    10


IMHHHO yang ini cuma definisi untuk identifier...
yang di bawah ini adalah include/linux/limits.h


#ifndef _LINUX_LIMITS_H
#define _LINUX_LIMITS_H

#define NR_OPEN         1024

#define NGROUPS_MAX       32    /* supplemental group IDs are available */
#define ARG_MAX       131072    /* # bytes of args + environ for exec() */
#define CHILD_MAX        999    /* no limit :-) */
#define OPEN_MAX         256    /* # open files a process may have */
#define LINK_MAX         127    /* # links a file may have */
#define MAX_CANON        255    /* size of the canonical input queue */
#define MAX_INPUT        255    /* size of the type-ahead buffer */
#define NAME_MAX         255    /* # chars in a file name */
#define PATH_MAX        4095    /* # chars in a path name */
#define PIPE_BUF        4096    /* # bytes in atomic write to a pipe */

#define RTSIG_MAX         32

#endif


btw, kalau belum pakai 2.1, maka pakailah... it rocks (tm)...

-- 
Ideal wife: must be able to cook, clean house, wash dishes, make love,
raise kids, feed the pets, configure sendmail...

______________________________________________________________________
Utk berhenti langganan kirim email ke [EMAIL PROTECTED] 
Sudah cari di arsip? http://www.linux.or.id/milis.php3#arsip-id-linux
Utk info netiket, kirim email kosong ke [EMAIL PROTECTED]


Kirim email ke