xref: /titanic_41/usr/src/lib/libast/common/comp/conf.tab (revision b69a86957bad202e0d4cd49e4ceb7fea54a83270)
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_MAX			SVID	SC 1 0
309NPROCESSORS_ONLN		SVID	SC 1 0
310NPROC_CONF			C	QQ 1 L
311NPROC_ONLN			C	QQ 1 L
312NSS_BUFLEN_GROUP		C	QQ 1 L
313NSS_BUFLEN_PASSWD		C	QQ 1 L
314NUM_PROCESSORS			C	QQ 1 L
315NZERO				XOPEN	XX 1 L		20
316OPEN_MAX			POSIX	SC 1 CDLMUX	16	cc{
317	#if _lib_getdtablesize
318	extern int		getdtablesize(void);
319	int main()
320	{
321		printf("%d", getdtablesize());
322		return 0;
323	}
324	#else
325	int main()
326	{
327		int	i;
328		int	n;
329		int	v;
330		n = 0;
331		v = 2;
332		while ((i = dup(0)) >= 0)
333		{
334			if (!n) n = i;
335			if (i > v) v = i;
336		}
337		while (n <= v) close(n++);
338		printf("%d", v);
339		return 0;
340	}
341	#endif
342}
343OPEN_MAX_CEIL			AST	XX 1 L		OPEN_MAX
344OSREL_MAJ			C	QQ 1 L
345OSREL_MIN			C	QQ 1 L
346OSREL_PATCH			C	QQ 1 L
347OS_BASE				SVID	SI 1 O
348OS_PROVIDER			SVID	SI 1 O
349OS_VERSION			AES	SC 1 FSU
350PAGESIZE			POSIX	SC 1 MU		PAGESIZE PAGE_SIZE 4096	cc{
351	int main()
352	{
353	#if _WIN32
354		printf("%ld", 64*1024L);
355		return 0;
356	#else
357	#if _lib_getpagesize
358	#if _npt_getpagesize
359	extern size_t		getpagesize(void);
360	#endif
361		printf("%d", getpagesize());
362		return 0;
363	#endif
364	#else
365		return 1;
366	#endif
367	}
368}
369PAGE_SIZE			POSIX	SC 1 MU		_AST_PAGESIZE
370PASS_MAX			SVID	SC 1 CDLMU	8
371PATH				POSIX	CS 1 CMU	"/bin:/usr/bin"
372PATH_MAX			POSIX	PC 1 CDLMUX	MAXPATHLEN 1024
373PBS				POSIX	SC 2 FUW
374PBS_ACCOUNTING			POSIX	SC 2 FUW
375PBS_CHECKPOINT			POSIX	SC 2 FUW
376PBS_LOCATE			POSIX	SC 2 FUW
377PBS_MESSAGE			POSIX	SC 2 FUW
378PBS_TRACK			POSIX	SC 2 FUW
379PHYS_PAGES			SUN	SC 1 0
380PID_MAX				SVID	SC 1 LMU	30000	cc{
381	int main()
382	{
383		int	fd;
384		int	n;
385		char	buf[1024];
386		if ((fd = open("/proc/sys/kernel/pid_max", 0)) < 0)
387			return 1;
388		if ((n = read(fd, buf, sizeof(buf)-1)) < 2)
389			return 1;
390		buf[n] = 0;
391		n = (int)strtol(buf, (char**)0, 0);
392		printf("%ld", n);
393		return 0;
394	}
395}
396PII				POSIX	SC 1 FU
397PII_INTERNET			POSIX	SC 1 FU
398PII_INTERNET_DGRAM		POSIX	SC 1 FU
399PII_INTERNET_STREAM		POSIX	SC 1 FU
400PII_OSI				POSIX	SC 1 FU
401PII_OSI_CLTS			POSIX	SC 1 FU
402PII_OSI_COTS			POSIX	SC 1 FU
403PII_OSI_M			POSIX	SC 1 FU
404PII_SOCKET			POSIX	SC 1 FU
405PII_XTI				POSIX	SC 1 FU
406PIPE_BUF			POSIX	PC 1 LMU	512
407POLL				POSIX	SC 1 FU
408PRIORITIZED_IO			POSIX	SC 1 FUW
409PRIORITY_SCHEDULING		POSIX	SC 1 CDFUW
410PRIO_IO				POSIX	PC 1 FUW
411PROC_RSRC_MGR			C	QQ 1 L
412PTHREAD_DESTRUCTOR_ITERATIONS	C	QQ 1 L
413PTHREAD_KEYS_MAX		C	QQ 1 L
414PTHREAD_STACK_MIN		C	QQ 1 L
415PTHREAD_THREADS_MAX		C	QQ 1 L
416PTRDIFF_MAX			C	XX 1 LMU	stdint.h 65535
417PTRDIFF_MIN			C	XX 1 LMU	stdint.h -65535
418RAW_SOCKETS			POSIX	SC 1 FUW
419READER_WRITER_LOCKS		POSIX	SC 1 FUW
420REALTIME			XOPEN	SC 1 FU
421REALTIME_SIGNALS		POSIX	SC 1 CDFUW
422REALTIME_THREADS		XOPEN	SC 1 FU
423REC_INCR_XFER_SIZE		POSIX	PC 1 LVW
424REC_MAX_XFER_SIZE		POSIX	PC 1 LVW
425REC_MIN_XFER_SIZE		POSIX	PC 1 LVW
426REC_XFER_ALIGN			POSIX	PC 1 LVW
427REENTRANT_FUNCTIONS		POSIX	SC 1 FU
428REGEXP				POSIX	SC 1 FUW
429REGEX_VERSION			POSIX	SC 1 F		20030916
430RELEASE				AST	XX 1 L
431RESOURCE_LIMITS			POSIX	SC 1 FU
432RE_DUP_MAX			POSIX	SC 2 LMN	255
433RTSIG_MAX			POSIX	SC 1 LMU	8
434SAVED_IDS			POSIX	SC 1 FUW	cc{
435	#if _lib_setuid && !_lib_setreuid
436	int main()
437	{
438		printf("1");
439		return 0;
440	}
441	#endif
442}
443SCHAR_MAX			C	XX 1 L		127
444SCHAR_MIN			C	XX 1 L		-127
445SECURITY_CLASS			C	QQ 1 L
446SELECT				POSIX	SC 1 FU
447SEMAPHORES			POSIX	SC 1 CDFUW
448SEM_NSEMS_MAX			POSIX	SC 1 LMU	256
449SEM_VALUE_MAX			POSIX	SC 1 LMU	32767
450SH				AST	CS 1 MU		sh{
451	ifs=$IFS
452	IFS=:
453	set '' `$CONF_getconf PATH 2>/dev/null` /bin /usr/bin /sbin /usr/sbin
454	shift
455	path=$*
456	IFS=$ifs
457	for s in ksh ksh93 sh
458	do	for d in $path
459		do	if	test -x $d/$s
460			then	case $s in
461				ksh)	case `$d/$s '--?-author' 2>&1` in
462					*'David Korn'*) ;;
463					*)		continue ;;
464					esac
465					;;
466				esac
467				echo '"'$d/$s'"'
468				exit
469			fi
470		done
471	done
472	echo '"/bin/sh"'
473}
474SHARED_MEMORY_OBJECTS		POSIX	SC 1 CDFUW
475SHELL				POSIX	SC 1 FUVW
476SHM				XOPEN	SC 1 FSUW
477SHRT_MAX			C	XX 1 L		32767
478SHRT_MIN			C	XX 1 L		-32767
479SIG_ATOMIC_MAX			C	XX 1 L		signal.h
480SIG_ATOMIC_MIN			C	XX 1 L		signal.h
481SIGQUEUE_MAX			POSIX	SC 1 LMU	32
482SIGQUEUE_MAX			POSIX	SC 1 LMU	32
483SIGRT_MAX			SVID	SC 1 0
484SIGRT_MIN			SVID	SC 1 0
485SIZE_MAX			C	XX 1 LMX	stdint.h UINT_MAX 65535
486SLVM_MAXNODES			C	QQ 1 L
487SOCK_MAXBUF			C	QQ 1 0
488SOFTPOWER			C	QQ 1 L
489SPAWN				POSIX	SC 1 FUW
490SPIN_LOCKS			POSIX	SC 1 FUW
491SPORADIC_SERVER			POSIX	SC 1 FUW
492SRPC_DOMAIN			C	QQ 1 0
493SS_REPL_MAX			POSIX	SC 1 FUW
494SSIZE_MAX			POSIX	XX 1 LMUX	INT_MAX 32767
495STD_BLK				SVID	SC 1 LMU	1024
496STREAM_MAX			POSIX	SC 1 LMU	OPEN_MAX 8
497STREAMS				XOPEN	SC 1 FSUW
498SW_DEV				POSIX	SC 2 CFUW
499SYMLINK_MAX			POSIX	PC 1 LMU	255	cc{
500	int main()
501	{
502		printf("%d", PATH_MAX-1);
503		return 0;
504	}
505}
506SYMLINKS			POSIX	PC 2 FUW
507SYMLOOP_MAX			POSIX	SC 1 LMU	8
508SYNCHRONIZED_IO			POSIX	SC 1 CDFUW
509SYNC_IO				POSIX	PC 1 FUW
510SYSNAME				SVID	SI 1 O
511SYSPID_MAX			SVID	SC 1 LMU	2
512THREADS				POSIX	SC 1 CDFUW
513THREADS_PRIO_CEILING		POSIX	SC 1 FUW
514THREADS_PRIO_INHERIT		POSIX	SC 1 FUW
515THREAD_ATTR_STACKADDR		POSIX	SC 1 CDFUW
516THREAD_ATTR_STACKSIZE		POSIX	SC 1 CDFUW
517THREAD_CPUTIME			POSIX	SC 1 FUW
518THREAD_DESTRUCTOR_ITERATIONS	POSIX	SC 1 LMUW	PTHREAD_DESTRUCTOR_ITERATIONS 4
519THREAD_KEYS_MAX			POSIX	SC 1 LMUW	PTHREAD_KEYS_MAX 128
520THREAD_PRIORITY_SCHEDULING	POSIX	SC 1 CDFUW
521THREAD_PRIO_INHERIT		POSIX	SC 1 CDFUW
522THREAD_PRIO_PROTECT		POSIX	SC 1 CDFUW
523THREAD_PROCESS_SHARED		POSIX	SC 1 CDFUW
524THREAD_SAFE_FUNCTIONS		POSIX	SC 1 CDFUW
525THREAD_SPORADIC_SERVER		POSIX	SC 1 FUW
526THREAD_STACK_MIN		POSIX	SC 1 LUW	PTHREAD_STACK_MIN
527THREAD_THREADS_MAX		POSIX	SC 1 LMUW	PTHREAD_THREADS_MAX 64
528TIMEOUTS			POSIX	SC 1 FUW
529TIMERS				POSIX	SC 1 CDFUW
530TIMER_MAX			POSIX	SC 1 LMU	32
531TMP				AST	CS 1 MU		"/tmp"
532TMP_MAX				C	SC 1 LMU	10000
533TRACE				POSIX	SC 1 FUW
534TRACE_EVENT_FILTER		POSIX	SC 1 FUW
535TRACE_EVENT_NAME_MAX		POSIX	SC 1 FUVW
536TRACE_INHERIT			POSIX	SC 1 FUW
537TRACE_LOG			POSIX	SC 1 FUW
538TRACE_NAME_MAX			POSIX	SC 1 FUVW
539TRACE_SYS_MAX			POSIX	SC 1 FUVW
540TRACE_USER_EVENT_MAX		POSIX	SC 1 FUVW
541TTY_NAME_MAX			POSIX	SC 1 LMU	9
542TYPED_MEMORY_OBJECTS		POSIX	SC 1 FUW
543TZNAME_MAX			POSIX	SC 1 CDLMU	6
544T_IOV_MAX			C	QQ 1 0
545UCHAR_MAX			C	XX 1 L		255
546UCHAR_MIN			C	XX 1 L
547UID_MAX				SVID	SC 1 LMU	60002
548UINT_MAX			C	XX 1 L		65535
549UIO_MAXIOV			C	QQ 1 0
550ULLONG_MAX			C	XX 1 L
551ULONG_MAX			C	XX 1 L		4294967295
552UNIX				XOPEN	SC 1 FSUW
553UPE				POSIX	SC 2 CFUW
554USER_LIMIT			SVID	SI 1 O
555USHRT_MAX			C	XX 1 L		65535
556V6_ILP32_OFF32			POSIX	SC 1 W
557V6_ILP32_OFFBIG			POSIX	SC 1 W
558V6_LP64_OFF64			POSIX	SC 1 W
559V6_LPBIG_OFFBIG			POSIX	SC 1 W
560VDISABLE			POSIX	PC 1 FUW
561VERSION				POSIX	SC 1 CDFSU	200112
562VERSION				POSIX	SC 2 CDFSU	200112
563VERSION				XOPEN	SC 1 CDFSU	600
564VERSION				AST	XX 1 MS		_AST_VERSION
565VERSION				SVID	SI 1 S
566VERSION				XPG	SC 3 DFSU
567VERSION				XPG	SC 4 DFSU
568VERSION_88			C	XX 1 L
569VERSION_88			POSIX	SC 1 FSU
570VERSION_90			C	XX 1 L
571VERSION_90			POSIX	SC 1 FSU
572VERSION_93			C	XX 1 L
573VERSION_93			POSIX	SC 1 FSU
574WCHAR_MAX			C	XX 1 L		stddef.h
575WCHAR_MIN			C	XX 1 L		stddef.h
576WINT_MIN			C	XX 1 L		wchar.h
577WINT_MAX			C	XX 1 L		wchar.h
578WORD_BIT			XOPEN	XX 1 L		(8*sizeof(int))
579XCU_VERSION			XOPEN	SC 1 CDFSU
580XPG2				XOPEN	XX 1 FU
581XPG3				XOPEN	XX 1 FU
582XPG4				XOPEN	XX 1 FU
583
584# vendor prefixes
585
586VERSION				GNU		XX 1 S
587VERSION				TRUSTEDBSD	XX 1 S
588