xref: /titanic_41/usr/src/lib/libast/common/comp/conf.tab (revision 89dc44ce9705974a8bc4a39f1e878a0491a5be61)
1#
2# posix { getconf limits } macro table
3#
4# @(#)conf.tab (AT&T Research) 2008-01-31
5#
6# name standard section call flags [ header ... ] [ value ... ]
7#
8# name:		sans prefix
9# standard:	AST, C, POSIX, SVID, XOPEN, <vendor> { SCO, SGI, SUN, ... }
10# section:	section number in standard
11# call:		CS=confstr PC=pathconf SC=sysconf SI=sysinfo QQ=query XX=none
12# flags:	0	no flags
13#		C	defer call to native getconf(1)
14#		D	defer minmax to native getconf(1)
15#		F	unistd.h feature
16#		L	limits.h constant
17#		M	has _<standard><section>_<name> minmax value
18#		N	_<call>_<name>
19#		O	use original name and definition
20#		R	_<standard>_<call>_<section>_<name>
21#		S	_<call>_<standard><section>_<name>
22#		U	<standard><section>_<name> prefixed by underscore
23#		V	_ prefix not allowed
24#		W	standard required
25#		X	define even if native is dynamic (ast special)
26#
27# default names if <section> <= 1
28#
29#	_<call>_<name>
30#	<standard>_<name>
31#
32# default names if <section> > 1
33#
34#	_<call>_<section>_<name>
35#	<standard><section>_<name>
36#
37# the [NSU] flags modify the default names
38#
39
40ABI_AIO_XFER_MAX		C	QQ 1 L
41ABI_ASYNCHRONOUS_IO		C	QQ 1 L
42ABI_ASYNC_IO			C	QQ 1 L
43ADVISORY_INFO			POSIX	SC 1 FUW
44AIO_LISTIO_MAX			POSIX	SC 1 LMU	2
45AIO_MAX				POSIX	SC 1 LMU	1
46AIO_PRIO_DELTA_MAX		POSIX	SC 1 LMU
47ALLOC_SIZE_MIN			POSIX	PC 1 LUVW
48ARCHITECTURE			SVID	SI 1 O
49ARG_MAX				POSIX	SC 1 CDLMUX	NCARGS 4096
50ASYNCHRONOUS_IO			POSIX	SC 1 CDFUW
51ASYNC_IO			POSIX	PC 1 FUW
52ATEXIT_MAX			XOPEN	SC 1 LMU	32
53AUDIT				C	QQ 1 L
54AVAIL_PROCESSORS		C	QQ 1 L
55AVPHYS_PAGES			SUN	SC 1 0
56BARRIERS			POSIX	SC 1 FUW
57BC_BASE_MAX			POSIX	SC 2 LMN	99
58BC_DIM_MAX			POSIX	SC 2 LMN	2048
59BC_SCALE_MAX			POSIX	SC 2 LMN	99
60BC_STRING_MAX			POSIX	SC 2 LMN	1000
61BUSTYPES			SVID	SI 1 O
62CHARCLASS_NAME_MAX		XOPEN	XX 1 L		14
63CHAR_BIT			C	XX 1 L		8
64CHAR_MAX			C	XX 1 L
65CHAR_MIN			C	XX 1 L
66CHAR_TERM			POSIX	SC 2 FUW
67CHILD_MAX			POSIX	SC 1 CDLMUX	6	cc{
68	#if _lib_fork
69	#define child()		fork()
70	#else
71	#ifdef	_map_spawnve
72	#define spawnve		_map_spawnve
73	#endif
74	extern int		spawnve(const char*, char* const[], char* const[]);
75	static char*		cmd[] = { "/bin/echo", 0 };
76	#define child()		spawnve(cmd[0],cmd,(char**)0)
77	#endif
78	int main()
79	{
80		int	i;
81		int	n;
82		for (i = 3; i < 512 && (n = child()) >= 0; i++)
83			if (!n) _exit(0);
84		while (wait((int*)0) > 0);
85		for (n = 8; n < i; n <<= 1);
86		printf("%d", n);
87		return 0;
88	}
89}
90CHOWN_RESTRICTED		POSIX	PC 1 FUW
91CKPT				POSIX	SC 1 FU
92CLK_TCK				POSIX	SC 1 L		HZ 60
93CLOCKRES_MIN			POSIX	SC 1 MUW	1
94CLOCKS_PER_SEC			C	QQ 1 L
95CLOCK_SELECTION			POSIX	SC 1 FUVW
96COLL_WEIGHTS_MAX		POSIX	SC 2 DLMN	2
97CPUTIME				POSIX	SC 1 FUW
98CPU_KEYBITS1			C	QQ 1 L
99CPU_VERSION			C	QQ 1 L
100CRYPT				XOPEN	SC 1 FSUW
101C_BIND				POSIX	SC 2 CFU
102C_DEV				POSIX	SC 2 CFU
103C_VERSION			POSIX	SC 2 CDFU
104DATAKEYS_MAX			C	QQ 1 0
105DELAYTIMER_MAX			POSIX	SC 1 LMU	32
106ENH_I18N			XOPEN	SC 1 FSUW
107EQUIV_CLASS_MAX			C	QQ 1 L
108EXEC_INTERPRETER_LENGTH		C	QQ 1 L
109EXPR_NEST_MAX			POSIX	SC 2 LMN	32
110FCHR_MAX			SVID	SC 1 LMU	LONG_MAX 2147483647
111FILESIZEBITS			POSIX	PC 1 LMU	(8*sizeof(off_t)) 32
112FILE_LOCKING			POSIX	SC 1 FU
113FORT_DEV			POSIX	SC 2 CFUW
114FORT_RUN			POSIX	SC 2 CFUW
115FSYNC				POSIX	SC 1 CDFUW	_lib_fsync
116GETGR_R_SIZE_MAX		C	QQ 1 L
117GETPW_R_SIZE_MAX		C	QQ 1 L
118HOSTID				C	QQ 1 L
119HOSTNAME			SVID	SI 1 O
120HOST_NAME_MAX			POSIX	SC 1 LMU	255
121HW_PROVIDER			SVID	SI 1 O
122HW_SERIAL			C	QQ 1 L
123ILP32_OFF32			XBS5	SC 1 FU
124ILP32_OFF32_CFLAGS		XBS5	CS 1 FU
125ILP32_OFF32_LDFLAGS		XBS5	CS 1 FU
126ILP32_OFF32_LIBS		XBS5	CS 1 FU
127ILP32_OFF32_LINTFLAGS		XBS5	CS 1 FU
128ILP32_OFFBIG			XBS5	SC 1 FU
129ILP32_OFFBIG_CFLAGS		XBS5	CS 1 FU
130ILP32_OFFBIG_LDFLAGS		XBS5	CS 1 FU
131ILP32_OFFBIG_LIBS		XBS5	CS 1 FU
132ILP32_OFFBIG_LINTFLAGS		XBS5	CS 1 FU
133INITTAB_NAME			SVID	SI 1 O
134INT_MAX				C	XX 1 L		32767
135INT_MIN				C	XX 1 L		-32767
136IOV_MAX				XOPEN	SC 1 LMU	16
137IO_TYPE				C	QQ 1 L
138IPV6				POSIX	SC 1 FUW
139IP_SECOPTS			C	QQ 1 L
140JOB_CONTROL			POSIX	SC 1 FUW	cc{
141	#include "FEATURE/wait"
142	#if _ok_wif
143	int main()
144	{
145		printf("1");
146		return 0;
147	}
148	#endif
149}
150KERNEL_CLIST			SCO	SC 1 0
151KERNEL_CLIST_MAX		SCO	SC 1 0
152KERNEL_DISK			SCO	SC 1 0
153KERNEL_DISK_MAX			SCO	SC 1 0
154KERNEL_DMABUF			SCO	SC 1 0
155KERNEL_DMABUF_MAX		SCO	SC 1 0
156KERNEL_FILE			SCO	SC 1 0
157KERNEL_FILE_MAX			SCO	SC 1 0
158KERNEL_FLCKREC			SCO	SC 1 0
159KERNEL_FLCKREC_MAX		SCO	SC 1 0
160KERNEL_INODE			SCO	SC 1 0
161KERNEL_INODE_MAX		SCO	SC 1 0
162KERNEL_MOUNT			SCO	SC 1 0
163KERNEL_MOUNT_MAX		SCO	SC 1 0
164KERNEL_PINODE			SCO	SC 1 0
165KERNEL_PINODE_MAX		SCO	SC 1 0
166KERNEL_PROC			SCO	SC 1 0
167KERNEL_PROC_MAX			SCO	SC 1 0
168KERNEL_REGION			SCO	SC 1 0
169KERNEL_REGION_MAX		SCO	SC 1 0
170KERNEL_S5INODE			SCO	SC 1 0
171KERNEL_S5INODE_MAX		SCO	SC 1 0
172KERNEL_STAMP			SVID	SI 1 O
173KERN_POINTERS			C	QQ 1 L
174KERN_SIM			C	QQ 1 L
175LEGACY				XOPEN	SC 1 FU
176LFS_CFLAGS			POSIX	CS 1 MU		cc{ -D_LARGEFILE_SOURCE "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" -D_LARGEFILE64_SOURCE -64
177	#include <sys/types.h>
178	int
179	main()
180	{
181		if (sizeof(off_t) >= sizeof(off_64_t))
182		{
183			printf("-");
184			return 0;
185		}
186		return 1;
187	}
188}
189LFS64_CFLAGS			POSIX	CS 1 MU		: LFS_CFLAGS
190LFS64_LDFLAGS			POSIX	CS 1 MU		: LFS_CFLAGS
191LFS64_LIBS			POSIX	CS 1 MU
192LFS64_LINTFLAGS			POSIX	CS 1 MU		: LFS_CFLAGS
193LFS_LDFLAGS			POSIX	CS 1 MU		: LFS_CFLAGS
194LFS_LIBS			POSIX	CS 1 MU
195LFS_LINTFLAGS			POSIX	CS 1 MU		: LFS_CFLAGS
196LINE_MAX			POSIX	SC 2 LMN	2048
197LINK_MAX			POSIX	PC 1 LMU	MAXLINK SHRT_MAX 8
198LLONG_MAX			C	XX 1 L
199LLONG_MIN			C	XX 1 L
200LOCALEDEF			POSIX	SC 1 FUW
201LOCALEDEF			POSIX	SC 2 CFUW
202LOGIN_NAME_MAX			POSIX	SC 1 LMU
203LOGNAME_MAX			SVID	SC 1 MU		8
204LONG_BIT			XOPEN	XX 1 L		(8*sizeof(long)) 32
205LONG_MAX			C	XX 1 L		2147483647
206LONG_MIN			C	XX 1 L		-2147483647
207LP64_OFF64			XBS5	SC 1 FU
208LP64_OFF64_CFLAGS		XBS5	CS 1 FU
209LP64_OFF64_LDFLAGS		XBS5	CS 1 FU
210LP64_OFF64_LIBS			XBS5	CS 1 FU
211LP64_OFF64_LINTFLAGS		XBS5	CS 1 FU
212LPBIG_OFFBIG			XBS5	SC 1 FU
213LPBIG_OFFBIG_CFLAGS		XBS5	CS 1 FU
214LPBIG_OFFBIG_LDFLAGS		XBS5	CS 1 FU
215LPBIG_OFFBIG_LIBS		XBS5	CS 1 FU
216LPBIG_OFFBIG_LINTFLAGS		XBS5	CS 1 FU
217MACHINE				SVID	SI 1 O
218MAPPED_FILES			POSIX	SC 1 CDFUW	_lib_mmap
219MAX_CANON			POSIX	PC 1 LMU	CANBSIZ 255
220MAX_INPUT			POSIX	PC 1 LMU	MAX_CANON 255
221MB_LEN_MAX			C	XX 1 L		1
222MCAS_OFFSET			C	QQ 1 L
223MEMLOCK				POSIX	SC 1 CDFUW
224MEMLOCK_RANGE			POSIX	SC 1 CDFUW
225MEMORY_PROTECTION		POSIX	SC 1 CDFUW
226MESSAGE_PASSING			POSIX	SC 1 CDFUW
227MMAP_FIXED_ALIGNMENT		C	QQ 1 L		_AST_PAGESIZE
228MONOTONIC_CLOCK			POSIX	SC 1 FUW
229MQ_OPEN_MAX			POSIX	SC 1 LMU	8
230MQ_PRIO_MAX			POSIX	SC 1 LMU	32
231MSEM_LOCKID			C	QQ 1 L
232MULTI_PROCESS			POSIX	SC 1 FU
233NACLS_MAX			SVID	SC 1 0
234NAME_MAX			POSIX	PC 1 LMU	14	cc{
235	int main()
236	{
237	#ifdef MAXNAMLEN
238		printf("%d", MAXNAMLEN);
239	#else
240	#if !defined(remove) && (!_lib_remove || _lib_unlink)
241	#define remove		unlink
242	#endif
243		int	i;
244		int	n;
245		int	v;
246		char	name[256];
247		for (i = 0; i < sizeof(name); i++)
248			name[i] = 'F';
249		name[8] = '.';
250		name[sizeof(name) - 1] = 0;
251		if ((n = creat(name, 0666)) >= 0)
252		{
253			close(n);
254			for (v = 12; v < sizeof(name); v++)
255			{
256				name[v] = 0;
257				if (remove(name) >= 0) break;
258				name[v] = 'F';
259			}
260		}
261		else for (v = 12; v < sizeof(name); v++)
262		{
263			name[v] = 0;
264			if ((n = creat(name, 0666)) >= 0)
265			{
266				close(n);
267				remove(name);
268				name[v] = 'F';
269			}
270			else
271			{
272				v--;
273				break;
274			}
275		}
276		printf("%d", v);
277		return 0;
278	}
279	#endif
280}
281NGROUPS_MAX			POSIX	SC 1 CDLMU	8	cc{
282	#if _lib_getgroups
283	int main()
284	{
285		int	n;
286		gid_t	g;
287		if ((n = getgroups(0, &g)) < 0)
288	#if defined(NGROUPS) && (NGROUPS-0) > 0
289			n = NGROUPS;
290	#else
291			return 1;
292	#endif
293		printf("%d", n);
294		return 0;
295	}
296	#endif
297}
298NL_ARGMAX			XOPEN	XX 1 L		9
299NL_LANGMAX			XOPEN	XX 1 L		14
300NL_MAX				C	QQ 1 L
301NL_MSGMAX			XOPEN	XX 1 L		32767
302NL_NMAX				XOPEN	XX 1 L		1
303NL_SETMAX			XOPEN	XX 1 L		255
304NL_SPECMAX			C	QQ 1 L
305NL_TEXTMAX			XOPEN	XX 1 L		LINE_MAX
306NO_TRUNC			POSIX	PC 1 FUW
307NPROCESSORS_CONF		SVID	SC 1 0
308NPROCESSORS_ONLN		SVID	SC 1 0
309NPROC_CONF			C	QQ 1 L
310NPROC_ONLN			C	QQ 1 L
311NSS_BUFLEN_GROUP		C	QQ 1 L
312NSS_BUFLEN_PASSWD		C	QQ 1 L
313NUM_PROCESSORS			C	QQ 1 L
314NZERO				XOPEN	XX 1 L		20
315OPEN_MAX			POSIX	SC 1 CDLMUX	16	cc{
316	#if _lib_getdtablesize
317	extern int		getdtablesize(void);
318	int main()
319	{
320		printf("%d", getdtablesize());
321		return 0;
322	}
323	#else
324	int main()
325	{
326		int	i;
327		int	n;
328		int	v;
329		n = 0;
330		v = 2;
331		while ((i = dup(0)) >= 0)
332		{
333			if (!n) n = i;
334			if (i > v) v = i;
335		}
336		while (n <= v) close(n++);
337		printf("%d", v);
338		return 0;
339	}
340	#endif
341}
342OPEN_MAX_CEIL			AST	XX 1 L		OPEN_MAX
343OSREL_MAJ			C	QQ 1 L
344OSREL_MIN			C	QQ 1 L
345OSREL_PATCH			C	QQ 1 L
346OS_BASE				SVID	SI 1 O
347OS_PROVIDER			SVID	SI 1 O
348OS_VERSION			AES	SC 1 FSU
349PAGESIZE			POSIX	SC 1 MU		PAGESIZE PAGE_SIZE 4096	cc{
350	int main()
351	{
352	#if _WIN32
353		printf("%ld", 64*1024L);
354		return 0;
355	#else
356	#if _lib_getpagesize
357	#if _npt_getpagesize
358	extern size_t		getpagesize(void);
359	#endif
360		printf("%d", getpagesize());
361		return 0;
362	#endif
363	#else
364		return 1;
365	#endif
366	}
367}
368PAGE_SIZE			POSIX	SC 1 MU		_AST_PAGESIZE
369PASS_MAX			SVID	SC 1 CDLMU	8
370PATH				POSIX	CS 1 CMU	"/bin:/usr/bin"
371PATH_MAX			POSIX	PC 1 CDLMUX	MAXPATHLEN 1024
372PBS				POSIX	SC 2 FUW
373PBS_ACCOUNTING			POSIX	SC 2 FUW
374PBS_CHECKPOINT			POSIX	SC 2 FUW
375PBS_LOCATE			POSIX	SC 2 FUW
376PBS_MESSAGE			POSIX	SC 2 FUW
377PBS_TRACK			POSIX	SC 2 FUW
378PHYS_PAGES			SUN	SC 1 0
379PID_MAX				SVID	SC 1 LMU	30000	cc{
380	int main()
381	{
382		int	fd;
383		int	n;
384		char	buf[1024];
385		if ((fd = open("/proc/sys/kernel/pid_max", 0)) < 0)
386			return 1;
387		if ((n = read(fd, buf, sizeof(buf)-1)) < 2)
388			return 1;
389		buf[n] = 0;
390		n = (int)strtol(buf, (char**)0, 0);
391		printf("%ld", n);
392		return 0;
393	}
394}
395PII				POSIX	SC 1 FU
396PII_INTERNET			POSIX	SC 1 FU
397PII_INTERNET_DGRAM		POSIX	SC 1 FU
398PII_INTERNET_STREAM		POSIX	SC 1 FU
399PII_OSI				POSIX	SC 1 FU
400PII_OSI_CLTS			POSIX	SC 1 FU
401PII_OSI_COTS			POSIX	SC 1 FU
402PII_OSI_M			POSIX	SC 1 FU
403PII_SOCKET			POSIX	SC 1 FU
404PII_XTI				POSIX	SC 1 FU
405PIPE_BUF			POSIX	PC 1 LMU	512
406POLL				POSIX	SC 1 FU
407PRIORITIZED_IO			POSIX	SC 1 FUW
408PRIORITY_SCHEDULING		POSIX	SC 1 CDFUW
409PRIO_IO				POSIX	PC 1 FUW
410PROC_RSRC_MGR			C	QQ 1 L
411PTHREAD_DESTRUCTOR_ITERATIONS	C	QQ 1 L
412PTHREAD_KEYS_MAX		C	QQ 1 L
413PTHREAD_STACK_MIN		C	QQ 1 L
414PTHREAD_THREADS_MAX		C	QQ 1 L
415PTRDIFF_MAX			C	XX 1 LMU	stdint.h 65535
416PTRDIFF_MIN			C	XX 1 LMU	stdint.h -65535
417RAW_SOCKETS			POSIX	SC 1 FUW
418READER_WRITER_LOCKS		POSIX	SC 1 FUW
419REALTIME			XOPEN	SC 1 FU
420REALTIME_SIGNALS		POSIX	SC 1 CDFUW
421REALTIME_THREADS		XOPEN	SC 1 FU
422REC_INCR_XFER_SIZE		POSIX	PC 1 LVW
423REC_MAX_XFER_SIZE		POSIX	PC 1 LVW
424REC_MIN_XFER_SIZE		POSIX	PC 1 LVW
425REC_XFER_ALIGN			POSIX	PC 1 LVW
426REENTRANT_FUNCTIONS		POSIX	SC 1 FU
427REGEXP				POSIX	SC 1 FUW
428REGEX_VERSION			POSIX	SC 1 F		20030916
429RELEASE				AST	XX 1 L
430RESOURCE_LIMITS			POSIX	SC 1 FU
431RE_DUP_MAX			POSIX	SC 2 LMN	255
432RTSIG_MAX			POSIX	SC 1 LMU	8
433SAVED_IDS			POSIX	SC 1 FUW	cc{
434	#if _lib_setuid && !_lib_setreuid
435	int main()
436	{
437		printf("1");
438		return 0;
439	}
440	#endif
441}
442SCHAR_MAX			C	XX 1 L		127
443SCHAR_MIN			C	XX 1 L		-127
444SECURITY_CLASS			C	QQ 1 L
445SELECT				POSIX	SC 1 FU
446SEMAPHORES			POSIX	SC 1 CDFUW
447SEM_NSEMS_MAX			POSIX	SC 1 LMU	256
448SEM_VALUE_MAX			POSIX	SC 1 LMU	32767
449SH				AST	CS 1 MU		sh{
450	ifs=$IFS
451	IFS=:
452	set '' `$CONF_getconf PATH 2>/dev/null` /bin /usr/bin /sbin /usr/sbin
453	shift
454	path=$*
455	IFS=$ifs
456	for s in ksh ksh93 sh
457	do	for d in $path
458		do	if	test -x $d/$s
459			then	case $s in
460				ksh)	case `$d/$s '--?-author' 2>&1` in
461					*'David Korn'*) ;;
462					*)		continue ;;
463					esac
464					;;
465				esac
466				echo '"'$d/$s'"'
467				exit
468			fi
469		done
470	done
471	echo '"/bin/sh"'
472}
473SHARED_MEMORY_OBJECTS		POSIX	SC 1 CDFUW
474SHELL				POSIX	SC 1 FUVW
475SHM				XOPEN	SC 1 FSUW
476SHRT_MAX			C	XX 1 L		32767
477SHRT_MIN			C	XX 1 L		-32767
478SIG_ATOMIC_MAX			C	XX 1 L		signal.h
479SIG_ATOMIC_MIN			C	XX 1 L		signal.h
480SIGQUEUE_MAX			POSIX	SC 1 LMU	32
481SIGQUEUE_MAX			POSIX	SC 1 LMU	32
482SIGRT_MAX			SVID	SC 1 0
483SIGRT_MIN			SVID	SC 1 0
484SIZE_MAX			C	XX 1 LMX	stdint.h UINT_MAX 65535
485SLVM_MAXNODES			C	QQ 1 L
486SOCK_MAXBUF			C	QQ 1 0
487SOFTPOWER			C	QQ 1 L
488SPAWN				POSIX	SC 1 FUW
489SPIN_LOCKS			POSIX	SC 1 FUW
490SPORADIC_SERVER			POSIX	SC 1 FUW
491SRPC_DOMAIN			C	QQ 1 0
492SS_REPL_MAX			POSIX	SC 1 FUW
493SSIZE_MAX			POSIX	XX 1 LMUX	INT_MAX 32767
494STD_BLK				SVID	SC 1 LMU	1024
495STREAM_MAX			POSIX	SC 1 LMU	OPEN_MAX 8
496STREAMS				XOPEN	SC 1 FSUW
497SW_DEV				POSIX	SC 2 CFUW
498SYMLINK_MAX			POSIX	PC 1 LMU	255	cc{
499	int main()
500	{
501		printf("%d", PATH_MAX-1);
502		return 0;
503	}
504}
505SYMLINKS			POSIX	PC 2 FUW
506SYMLOOP_MAX			POSIX	SC 1 LMU	8
507SYNCHRONIZED_IO			POSIX	SC 1 CDFUW
508SYNC_IO				POSIX	PC 1 FUW
509SYSNAME				SVID	SI 1 O
510SYSPID_MAX			SVID	SC 1 LMU	2
511THREADS				POSIX	SC 1 CDFUW
512THREADS_PRIO_CEILING		POSIX	SC 1 FUW
513THREADS_PRIO_INHERIT		POSIX	SC 1 FUW
514THREAD_ATTR_STACKADDR		POSIX	SC 1 CDFUW
515THREAD_ATTR_STACKSIZE		POSIX	SC 1 CDFUW
516THREAD_CPUTIME			POSIX	SC 1 FUW
517THREAD_DESTRUCTOR_ITERATIONS	POSIX	SC 1 LMUW	PTHREAD_DESTRUCTOR_ITERATIONS 4
518THREAD_KEYS_MAX			POSIX	SC 1 LMUW	PTHREAD_KEYS_MAX 128
519THREAD_PRIORITY_SCHEDULING	POSIX	SC 1 CDFUW
520THREAD_PRIO_INHERIT		POSIX	SC 1 CDFUW
521THREAD_PRIO_PROTECT		POSIX	SC 1 CDFUW
522THREAD_PROCESS_SHARED		POSIX	SC 1 CDFUW
523THREAD_SAFE_FUNCTIONS		POSIX	SC 1 CDFUW
524THREAD_SPORADIC_SERVER		POSIX	SC 1 FUW
525THREAD_STACK_MIN		POSIX	SC 1 LUW	PTHREAD_STACK_MIN
526THREAD_THREADS_MAX		POSIX	SC 1 LMUW	PTHREAD_THREADS_MAX 64
527TIMEOUTS			POSIX	SC 1 FUW
528TIMERS				POSIX	SC 1 CDFUW
529TIMER_MAX			POSIX	SC 1 LMU	32
530TMP				AST	CS 1 MU		"/tmp"
531TMP_MAX				C	SC 1 LMU	10000
532TRACE				POSIX	SC 1 FUW
533TRACE_EVENT_FILTER		POSIX	SC 1 FUW
534TRACE_EVENT_NAME_MAX		POSIX	SC 1 FUVW
535TRACE_INHERIT			POSIX	SC 1 FUW
536TRACE_LOG			POSIX	SC 1 FUW
537TRACE_NAME_MAX			POSIX	SC 1 FUVW
538TRACE_SYS_MAX			POSIX	SC 1 FUVW
539TRACE_USER_EVENT_MAX		POSIX	SC 1 FUVW
540TTY_NAME_MAX			POSIX	SC 1 LMU	9
541TYPED_MEMORY_OBJECTS		POSIX	SC 1 FUW
542TZNAME_MAX			POSIX	SC 1 CDLMU	6
543T_IOV_MAX			C	QQ 1 0
544UCHAR_MAX			C	XX 1 L		255
545UCHAR_MIN			C	XX 1 L
546UID_MAX				SVID	SC 1 LMU	60002
547UINT_MAX			C	XX 1 L		65535
548UIO_MAXIOV			C	QQ 1 0
549ULLONG_MAX			C	XX 1 L
550ULONG_MAX			C	XX 1 L		4294967295
551UNIX				XOPEN	SC 1 FSUW
552UPE				POSIX	SC 2 CFUW
553USER_LIMIT			SVID	SI 1 O
554USHRT_MAX			C	XX 1 L		65535
555V6_ILP32_OFF32			POSIX	SC 1 W
556V6_ILP32_OFFBIG			POSIX	SC 1 W
557V6_LP64_OFF64			POSIX	SC 1 W
558V6_LPBIG_OFFBIG			POSIX	SC 1 W
559VDISABLE			POSIX	PC 1 FUW
560VERSION				POSIX	SC 1 CDFSU	200112
561VERSION				POSIX	SC 2 CDFSU	200112
562VERSION				XOPEN	SC 1 CDFSU	600
563VERSION				AST	XX 1 MS		_AST_VERSION
564VERSION				SVID	SI 1 S
565VERSION				XPG	SC 3 DFSU
566VERSION				XPG	SC 4 DFSU
567VERSION_88			C	XX 1 L
568VERSION_88			POSIX	SC 1 FSU
569VERSION_90			C	XX 1 L
570VERSION_90			POSIX	SC 1 FSU
571VERSION_93			C	XX 1 L
572VERSION_93			POSIX	SC 1 FSU
573WCHAR_MAX			C	XX 1 L		stddef.h
574WCHAR_MIN			C	XX 1 L		stddef.h
575WINT_MIN			C	XX 1 L		wchar.h
576WINT_MAX			C	XX 1 L		wchar.h
577WORD_BIT			XOPEN	XX 1 L		(8*sizeof(int))
578XCU_VERSION			XOPEN	SC 1 CDFSU
579XPG2				XOPEN	XX 1 FU
580XPG3				XOPEN	XX 1 FU
581XPG4				XOPEN	XX 1 FU
582
583# vendor prefixes
584
585VERSION				GNU		XX 1 S
586VERSION				TRUSTEDBSD	XX 1 S
587