C++程序  |  34行  |  1.08 KB

/****************************************************************************
 ****************************************************************************
 ***
 ***   This header was automatically generated from a Linux kernel header
 ***   of the same name, to make information necessary for userspace to
 ***   call into the kernel available to libc.  It contains only constants,
 ***   structures, and macros generated from the original header, and thus,
 ***   contains no copyrightable information.
 ***
 ****************************************************************************
 ****************************************************************************/
#ifndef _LINUX_LIMITS_H
#define _LINUX_LIMITS_H

#define NR_OPEN 1024

#define NGROUPS_MAX 65536  
#define ARG_MAX 131072  
#define CHILD_MAX 999  
#define OPEN_MAX 256  
#define LINK_MAX 127  
#define MAX_CANON 255  
#define MAX_INPUT 255  
#define NAME_MAX 255  
#define PATH_MAX 4096  
#define PIPE_BUF 4096  
#define XATTR_NAME_MAX 255  
#define XATTR_SIZE_MAX 65536  
#define XATTR_LIST_MAX 65536  

#define RTSIG_MAX 32

#endif