1N/A# posix { getconf limits } macro table
1N/A# name standard section call flags [ header ... ] [ value ... ]
1N/A# standard: AST, C, POSIX, SVID, XOPEN, <vendor> { SCO, SGI, SUN, ... }
1N/A# section: section number in standard
1N/A# call: CS=confstr PC=pathconf SC=sysconf SI=sysinfo QQ=query XX=none
1N/A# C defer call to native getconf(1)
1N/A# D defer minmax to native getconf(1)
1N/A# M has _<standard><section>_<name> minmax value
1N/A# O use original name and definition
1N/A# R _<standard>_<call>_<section>_<name>
1N/A# S _<call>_<standard><section>_<name>
1N/A# U <standard><section>_<name> prefixed by underscore
1N/A# V _ prefix not allowed
1N/A# W standard required
1N/A# X define even if native is dynamic (ast special)
1N/A# default names if <section> <= 1
1N/A# default names if <section> > 1
1N/A# _<call>_<section>_<name>
1N/A# <standard><section>_<name>
1N/A# the [NSU] flags modify the default names
1N/AABI_AIO_XFER_MAX C QQ 1 L
1N/AABI_ASYNCHRONOUS_IO C QQ 1 L
1N/AABI_ASYNC_IO C QQ 1 L
1N/AADVISORY_INFO POSIX SC 1 FUW
1N/AAIO_LISTIO_MAX POSIX SC 1 LMU 2
1N/AAIO_MAX POSIX SC 1 LMU 1
1N/AAIO_PRIO_DELTA_MAX POSIX SC 1 LMU
1N/AALLOC_SIZE_MIN POSIX PC 1 LUVW
1N/AARCHITECTURE SVID SI 1 O
1N/AARG_MAX POSIX SC 1 CDLMUX NCARGS 4096
1N/AASYNCHRONOUS_IO POSIX SC 1 CDFUW
1N/AASYNC_IO POSIX PC 1 FUW
1N/AATEXIT_MAX XOPEN SC 1 LMU 32
1N/AAVAIL_PROCESSORS C QQ 1 L
1N/AAVPHYS_PAGES SUN SC 1 0
1N/ABARRIERS POSIX SC 1 FUW
1N/ABC_BASE_MAX POSIX SC 2 LMN 99
1N/ABC_DIM_MAX POSIX SC 2 LMN 2048
1N/ABC_SCALE_MAX POSIX SC 2 LMN 99
1N/ABC_STRING_MAX POSIX SC 2 LMN 1000
1N/ACHARCLASS_NAME_MAX XOPEN XX 1 L 14
1N/ACHAR_TERM POSIX SC 2 FUW
1N/ACHILD_MAX POSIX SC 1 CDLMUX 6 cc{
1N/A #define child() fork()
1N/A #define spawnve _map_spawnve
1N/A extern int spawnve(const char*, char* const[], char* const[]);
1N/A #define child() spawnve(cmd[0],cmd,(char**)0)
1N/A for (i = 3; i < 512 && (n = child()) >= 0; i++)
1N/A while (wait((int*)0) > 0);
1N/A for (n = 8; n < i; n <<= 1);
1N/ACHOWN_RESTRICTED POSIX PC 1 FUW
1N/ACLK_TCK POSIX SC 1 L HZ 60
1N/ACLOCKRES_MIN POSIX SC 1 MUW 1
1N/ACLOCKS_PER_SEC C QQ 1 L
1N/ACLOCK_SELECTION POSIX SC 1 FUVW
1N/ACOLL_WEIGHTS_MAX POSIX SC 2 DLMN 2
1N/ACPUTIME POSIX SC 1 FUW
1N/ACPU_KEYBITS1 C QQ 1 L
1N/ACRYPT XOPEN SC 1 FSUW
1N/AC_BIND POSIX SC 2 CFU
1N/AC_VERSION POSIX SC 2 CDFU
1N/ADATAKEYS_MAX C QQ 1 0
1N/ADELAYTIMER_MAX POSIX SC 1 LMU 32
1N/AENH_I18N XOPEN SC 1 FSUW
1N/AEQUIV_CLASS_MAX C QQ 1 L
1N/AEXEC_INTERPRETER_LENGTH C QQ 1 L
1N/AEXPR_NEST_MAX POSIX SC 2 LMN 32
1N/AFCHR_MAX SVID SC 1 LMU LONG_MAX 2147483647
1N/AFILESIZEBITS POSIX PC 1 LMU (8*sizeof(off_t)) 32
1N/AFILE_LOCKING POSIX SC 1 FU
1N/AFORT_DEV POSIX SC 2 CFUW
1N/AFORT_RUN POSIX SC 2 CFUW
1N/AFSYNC POSIX SC 1 CDFUW _lib_fsync
1N/AGETGR_R_SIZE_MAX C QQ 1 L
1N/AGETPW_R_SIZE_MAX C QQ 1 L
1N/AHOST_NAME_MAX POSIX SC 1 LMU 255
1N/AHW_PROVIDER SVID SI 1 O
1N/AILP32_OFF32 XBS5 SC 1 FU
1N/AILP32_OFF32_CFLAGS XBS5 CS 1 FU
1N/AILP32_OFF32_LDFLAGS XBS5 CS 1 FU
1N/AILP32_OFF32_LIBS XBS5 CS 1 FU
1N/AILP32_OFF32_LINTFLAGS XBS5 CS 1 FU
1N/AILP32_OFFBIG XBS5 SC 1 FU
1N/AILP32_OFFBIG_CFLAGS XBS5 CS 1 FU
1N/AILP32_OFFBIG_LDFLAGS XBS5 CS 1 FU
1N/AILP32_OFFBIG_LIBS XBS5 CS 1 FU
1N/AILP32_OFFBIG_LINTFLAGS XBS5 CS 1 FU
1N/AINITTAB_NAME SVID SI 1 O
1N/AINT_MAX C XX 1 L 32767
1N/AINT_MIN C XX 1 L -32767
1N/AIOV_MAX XOPEN SC 1 LMU 16
1N/AJOB_CONTROL POSIX SC 1 FUW cc{
1N/AKERNEL_CLIST SCO SC 1 0
1N/AKERNEL_CLIST_MAX SCO SC 1 0
1N/AKERNEL_DISK SCO SC 1 0
1N/AKERNEL_DISK_MAX SCO SC 1 0
1N/AKERNEL_DMABUF SCO SC 1 0
1N/AKERNEL_DMABUF_MAX SCO SC 1 0
1N/AKERNEL_FILE SCO SC 1 0
1N/AKERNEL_FILE_MAX SCO SC 1 0
1N/AKERNEL_FLCKREC SCO SC 1 0
1N/AKERNEL_FLCKREC_MAX SCO SC 1 0
1N/AKERNEL_INODE SCO SC 1 0
1N/AKERNEL_INODE_MAX SCO SC 1 0
1N/AKERNEL_MOUNT SCO SC 1 0
1N/AKERNEL_MOUNT_MAX SCO SC 1 0
1N/AKERNEL_PINODE SCO SC 1 0
1N/AKERNEL_PINODE_MAX SCO SC 1 0
1N/AKERNEL_PROC SCO SC 1 0
1N/AKERNEL_PROC_MAX SCO SC 1 0
1N/AKERNEL_REGION SCO SC 1 0
1N/AKERNEL_REGION_MAX SCO SC 1 0
1N/AKERNEL_S5INODE SCO SC 1 0
1N/AKERNEL_S5INODE_MAX SCO SC 1 0
1N/AKERNEL_STAMP SVID SI 1 O
1N/AKERN_POINTERS C QQ 1 L
1N/ALFS_CFLAGS POSIX CS 1 MU cc{ -D_LARGEFILE_SOURCE "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" -D_LARGEFILE64_SOURCE -64
1N/A if (sizeof(off_t) >= sizeof(off_64_t))
1N/ALFS64_CFLAGS POSIX CS 1 MU : LFS_CFLAGS
1N/ALFS64_LDFLAGS POSIX CS 1 MU : LFS_CFLAGS
1N/ALFS64_LIBS POSIX CS 1 MU
1N/ALFS64_LINTFLAGS POSIX CS 1 MU : LFS_CFLAGS
1N/ALFS_LDFLAGS POSIX CS 1 MU : LFS_CFLAGS
1N/ALFS_LIBS POSIX CS 1 MU
1N/ALFS_LINTFLAGS POSIX CS 1 MU : LFS_CFLAGS
1N/ALINE_MAX POSIX SC 2 LMN 2048
1N/ALINK_MAX POSIX PC 1 LMU MAXLINK SHRT_MAX 8
1N/ALOCALEDEF POSIX SC 1 FUW
1N/ALOCALEDEF POSIX SC 2 CFUW
1N/ALOGIN_NAME_MAX POSIX SC 1 LMU
1N/ALOGNAME_MAX SVID SC 1 MU 8
1N/ALONG_BIT XOPEN XX 1 L (8*sizeof(long)) 32
1N/ALONG_MAX C XX 1 L 2147483647
1N/ALONG_MIN C XX 1 L -2147483647
1N/ALP64_OFF64 XBS5 SC 1 FU
1N/ALP64_OFF64_CFLAGS XBS5 CS 1 FU
1N/ALP64_OFF64_LDFLAGS XBS5 CS 1 FU
1N/ALP64_OFF64_LIBS XBS5 CS 1 FU
1N/ALP64_OFF64_LINTFLAGS XBS5 CS 1 FU
1N/ALPBIG_OFFBIG XBS5 SC 1 FU
1N/ALPBIG_OFFBIG_CFLAGS XBS5 CS 1 FU
1N/ALPBIG_OFFBIG_LDFLAGS XBS5 CS 1 FU
1N/ALPBIG_OFFBIG_LIBS XBS5 CS 1 FU
1N/ALPBIG_OFFBIG_LINTFLAGS XBS5 CS 1 FU
1N/AMAPPED_FILES POSIX SC 1 CDFUW _lib_mmap
1N/AMAX_CANON POSIX PC 1 LMU CANBSIZ 255
1N/AMAX_INPUT POSIX PC 1 LMU MAX_CANON 255
1N/AMB_LEN_MAX C XX 1 L 1
1N/AMEMLOCK POSIX SC 1 CDFUW
1N/AMEMLOCK_RANGE POSIX SC 1 CDFUW
1N/AMEMORY_PROTECTION POSIX SC 1 CDFUW
1N/AMESSAGE_PASSING POSIX SC 1 CDFUW
1N/AMMAP_FIXED_ALIGNMENT C QQ 1 L _AST_PAGESIZE
1N/AMONOTONIC_CLOCK POSIX SC 1 FUW
1N/AMQ_OPEN_MAX POSIX SC 1 LMU 8
1N/AMQ_PRIO_MAX POSIX SC 1 LMU 32
1N/AMULTI_PROCESS POSIX SC 1 FU
1N/ANACLS_MAX SVID SC 1 0
1N/ANAME_MAX POSIX PC 1 LMU 14 cc{
1N/A printf("%d", MAXNAMLEN);
1N/A #if !defined(remove) && (!_lib_remove || _lib_unlink)
1N/A #define remove unlink
1N/A for (i = 0; i < sizeof(name); i++)
1N/A name[sizeof(name) - 1] = 0;
1N/A if ((n = creat(name, 0666)) >= 0)
1N/A for (v = 12; v < sizeof(name); v++)
1N/A if (remove(name) >= 0) break;
1N/A else for (v = 12; v < sizeof(name); v++)
1N/A if ((n = creat(name, 0666)) >= 0)
1N/ANGROUPS_MAX POSIX SC 1 CDLMU 8 cc{
1N/A if ((n = getgroups(0, &g)) < 0)
1N/A #if defined(NGROUPS) && (NGROUPS-0) > 0
1N/ANL_ARGMAX XOPEN XX 1 L 9
1N/ANL_LANGMAX XOPEN XX 1 L 14
1N/ANL_MSGMAX XOPEN XX 1 L 32767
1N/ANL_NMAX XOPEN XX 1 L 1
1N/ANL_SETMAX XOPEN XX 1 L 255
1N/ANL_TEXTMAX XOPEN XX 1 L LINE_MAX
1N/ANO_TRUNC POSIX PC 1 FUW
1N/ANPROCESSORS_CONF SVID SC 1 0
1N/ANPROCESSORS_MAX SVID SC 1 0
1N/ANPROCESSORS_ONLN SVID SC 1 0
1N/ANSS_BUFLEN_GROUP C QQ 1 L
1N/ANSS_BUFLEN_PASSWD C QQ 1 L
1N/ANUM_PROCESSORS C QQ 1 L
1N/ANZERO XOPEN XX 1 L 20
1N/AOPEN_MAX POSIX SC 1 CDLMUX 16 cc{
1N/A #if _lib_getdtablesize
1N/A extern int getdtablesize(void);
1N/A printf("%d", getdtablesize());
1N/A while ((i = dup(0)) >= 0)
1N/A while (n <= v) close(n++);
1N/AOPEN_MAX_CEIL AST XX 1 L OPEN_MAX
1N/AOS_PROVIDER SVID SI 1 O
1N/AOS_VERSION AES SC 1 FSU
1N/APAGESIZE POSIX SC 1 MU PAGESIZE PAGE_SIZE 4096 cc{
1N/A printf("%ld", 64*1024L);
1N/A #if _lib_getpagesize
1N/A #if _npt_getpagesize
1N/A extern size_t getpagesize(void);
1N/A printf("%d", getpagesize());
1N/APAGE_SIZE POSIX SC 1 MU _AST_PAGESIZE
1N/APASS_MAX SVID SC 1 CDLMU 8
1N/APATH_MAX POSIX PC 1 CDLMUX MAXPATHLEN 1024
1N/APBS_ACCOUNTING POSIX SC 2 FUW
1N/APBS_CHECKPOINT POSIX SC 2 FUW
1N/APBS_LOCATE POSIX SC 2 FUW
1N/APBS_MESSAGE POSIX SC 2 FUW
1N/APBS_TRACK POSIX SC 2 FUW
1N/APHYS_PAGES SUN SC 1 0
1N/APID_MAX SVID SC 1 LMU 30000 cc{
1N/A v = strtol(buf, (char**)0, 0);
1N/APII_INTERNET POSIX SC 1 FU
1N/APII_INTERNET_DGRAM POSIX SC 1 FU
1N/APII_INTERNET_STREAM POSIX SC 1 FU
1N/APII_OSI POSIX SC 1 FU
1N/APII_OSI_CLTS POSIX SC 1 FU
1N/APII_OSI_COTS POSIX SC 1 FU
1N/APII_OSI_M POSIX SC 1 FU
1N/APII_SOCKET POSIX SC 1 FU
1N/APII_XTI POSIX SC 1 FU
1N/APIPE_BUF POSIX PC 1 LMU 512
1N/APRIORITIZED_IO POSIX SC 1 FUW
1N/APRIORITY_SCHEDULING POSIX SC 1 CDFUW
1N/APRIO_IO POSIX PC 1 FUW
1N/APROC_RSRC_MGR C QQ 1 L
1N/APTHREAD_DESTRUCTOR_ITERATIONS C QQ 1 L
1N/APTHREAD_KEYS_MAX C QQ 1 L
1N/APTHREAD_STACK_MIN C QQ 1 L
1N/APTHREAD_THREADS_MAX C QQ 1 L
1N/ARAW_SOCKETS POSIX SC 1 FUW
1N/AREADER_WRITER_LOCKS POSIX SC 1 FUW
1N/AREALTIME XOPEN SC 1 FU
1N/AREALTIME_SIGNALS POSIX SC 1 CDFUW
1N/AREALTIME_THREADS XOPEN SC 1 FU
1N/AREC_INCR_XFER_SIZE POSIX PC 1 LVW
1N/AREC_MAX_XFER_SIZE POSIX PC 1 LVW
1N/AREC_MIN_XFER_SIZE POSIX PC 1 LVW
1N/AREC_XFER_ALIGN POSIX PC 1 LVW
1N/AREENTRANT_FUNCTIONS POSIX SC 1 FU
1N/AREGEXP POSIX SC 1 FUW
1N/AREGEX_VERSION POSIX SC 1 F 20030916
1N/ARESOURCE_LIMITS POSIX SC 1 FU
1N/ARE_DUP_MAX POSIX SC 2 LMN 255
1N/ARTSIG_MAX POSIX SC 1 LMU 8
1N/ASAVED_IDS POSIX SC 1 FUW cc{
1N/A #if _lib_setuid && !_lib_setreuid
1N/ASCHAR_MAX C XX 1 L 127
1N/ASCHAR_MIN C XX 1 L -127
1N/ASECURITY_CLASS C QQ 1 L
1N/ASEMAPHORES POSIX SC 1 CDFUW
1N/ASEM_NSEMS_MAX POSIX SC 1 LMU 256
1N/ASEM_VALUE_MAX POSIX SC 1 LMU 32767
1N/ASF_BUFSIZE AST XX 1 MUX sh{
1N/A for s in ksh ksh93 sh
1N/A ksh) case `$d/$s '--?-author' 2>&1` in
1N/ASHARED_MEMORY_OBJECTS POSIX SC 1 CDFUW
1N/ASHELL POSIX SC 1 FUVW
1N/ASHRT_MAX C XX 1 L 32767
1N/ASHRT_MIN C XX 1 L -32767
1N/ASIGQUEUE_MAX POSIX SC 1 LMU 32
1N/ASIGQUEUE_MAX POSIX SC 1 LMU 32
1N/ASIGRT_MAX SVID SC 1 0
1N/ASIGRT_MIN SVID SC 1 0
1N/ASLVM_MAXNODES C QQ 1 L
1N/ASPIN_LOCKS POSIX SC 1 FUW
1N/ASPORADIC_SERVER POSIX SC 1 FUW
1N/ASS_REPL_MAX POSIX SC 1 FUW
1N/ASSIZE_MAX POSIX XX 1 LMUX INT_MAX 32767
1N/ASTD_BLK SVID SC 1 LMU 1024
1N/ASTREAM_MAX POSIX SC 1 LMU OPEN_MAX 8
1N/ASTREAMS XOPEN SC 1 FSUW
1N/ASW_DEV POSIX SC 2 CFUW
1N/ASYMLINK_MAX POSIX PC 1 LMU 255 cc{
1N/A printf("%d", PATH_MAX-1);
1N/ASYMLINKS POSIX PC 2 FUW
1N/ASYMLOOP_MAX POSIX SC 1 LMU 8
1N/ASYNCHRONIZED_IO POSIX SC 1 CDFUW
1N/ASYNC_IO POSIX PC 1 FUW
1N/ASYSPID_MAX SVID SC 1 LMU 2
1N/ATHREADS POSIX SC 1 CDFUW
1N/ATHREADS_PRIO_CEILING POSIX SC 1 FUW
1N/ATHREADS_PRIO_INHERIT POSIX SC 1 FUW
1N/ATHREAD_ATTR_STACKADDR POSIX SC 1 CDFUW
1N/ATHREAD_ATTR_STACKSIZE POSIX SC 1 CDFUW
1N/ATHREAD_CPUTIME POSIX SC 1 FUW
1N/ATHREAD_DESTRUCTOR_ITERATIONS POSIX SC 1 LMUW PTHREAD_DESTRUCTOR_ITERATIONS 4
1N/ATHREAD_KEYS_MAX POSIX SC 1 LMUW PTHREAD_KEYS_MAX 128
1N/ATHREAD_PRIORITY_SCHEDULING POSIX SC 1 CDFUW
1N/ATHREAD_PRIO_INHERIT POSIX SC 1 CDFUW
1N/ATHREAD_PRIO_PROTECT POSIX SC 1 CDFUW
1N/ATHREAD_PROCESS_SHARED POSIX SC 1 CDFUW
1N/ATHREAD_SAFE_FUNCTIONS POSIX SC 1 CDFUW
1N/ATHREAD_SPORADIC_SERVER POSIX SC 1 FUW
1N/ATHREAD_STACK_MIN POSIX SC 1 LUW PTHREAD_STACK_MIN
1N/ATHREAD_THREADS_MAX POSIX SC 1 LMUW PTHREAD_THREADS_MAX 64
1N/ATIMEOUTS POSIX SC 1 FUW
1N/ATIMERS POSIX SC 1 CDFUW
1N/ATIMER_MAX POSIX SC 1 LMU 32
1N/ATMP AST CS 1 MU "/tmp"
1N/ATMP_MAX C SC 1 LMU 10000
1N/ATRACE_EVENT_FILTER POSIX SC 1 FUW
1N/ATRACE_EVENT_NAME_MAX POSIX SC 1 FUVW
1N/ATRACE_INHERIT POSIX SC 1 FUW
1N/ATRACE_LOG POSIX SC 1 FUW
1N/ATRACE_NAME_MAX POSIX SC 1 FUVW
1N/ATRACE_SYS_MAX POSIX SC 1 FUVW
1N/ATRACE_USER_EVENT_MAX POSIX SC 1 FUVW
1N/ATTY_NAME_MAX POSIX SC 1 LMU 9
1N/ATYPED_MEMORY_OBJECTS POSIX SC 1 FUW
1N/ATZNAME_MAX POSIX SC 1 CDLMU 6
1N/AUCHAR_MAX C XX 1 L 255
1N/AUID_MAX SVID SC 1 LMU 60002
1N/AUINT_MAX C XX 1 L 65535
1N/AULONG_MAX C XX 1 L 4294967295
1N/AUSER_LIMIT SVID SI 1 O
1N/AUSHRT_MAX C XX 1 L 65535
1N/AV6_ILP32_OFF32 POSIX SC 1 W
1N/AV6_ILP32_OFFBIG POSIX SC 1 W
1N/AV6_LP64_OFF64 POSIX SC 1 W
1N/AV6_LPBIG_OFFBIG POSIX SC 1 W
1N/AVDISABLE POSIX PC 1 FUW
1N/AVERSION POSIX SC 1 CDFSU 200112
1N/AVERSION POSIX SC 2 CDFSU 200112
1N/AVERSION XOPEN SC 1 CDFSU 600
1N/AVERSION AST XX 1 MS _AST_VERSION
1N/AVERSION XPG SC 3 DFSU
1N/AVERSION XPG SC 4 DFSU
1N/AVERSION_88 POSIX SC 1 FSU
1N/AVERSION_90 POSIX SC 1 FSU
1N/AVERSION_93 POSIX SC 1 FSU
1N/AWORD_BIT XOPEN XX 1 L (8*sizeof(int))
1N/AXCU_VERSION XOPEN SC 1 CDFSU
1N/AVERSION TRUSTEDBSD XX 1 S