diff -r 000000000000 -r 2e3d3ce01487 openenvutils/commandshell/shell/inc/rlimits.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openenvutils/commandshell/shell/inc/rlimits.h Tue Feb 02 10:12:00 2010 +0200 @@ -0,0 +1,40 @@ +/** rlimits.h **/ +/** architecture-customized limits for zsh **/ + +#define ZSH_NLIMITS 15 + +static char const *recs[ZSH_NLIMITS] = { + "cputime", + "filesize", + "datasize", + "stacksize", + "coredumpsize", + "memoryuse", + "maxproc", + "descriptors", + "memorylocked", + "addressspace", + "maxfilelocks", + "sigpending", + "msgqueue", + "NICE", + "RTPRIO", +}; + +static int limtype[ZSH_NLIMITS] = { + ZLIMTYPE_TIME, + ZLIMTYPE_MEMORY, + ZLIMTYPE_MEMORY, + ZLIMTYPE_MEMORY, + ZLIMTYPE_MEMORY, + ZLIMTYPE_MEMORY, + ZLIMTYPE_NUMBER, + ZLIMTYPE_NUMBER, + ZLIMTYPE_MEMORY, + ZLIMTYPE_MEMORY, + ZLIMTYPE_NUMBER, + ZLIMTYPE_NUMBER, + ZLIMTYPE_NUMBER, + ZLIMTYPE_UNKNOWN, + ZLIMTYPE_UNKNOWN, +};