xref: /titanic_51/usr/src/test/libc-tests/cfg/symbols/unistd_h.cfg (revision aaec9ca27fa0bbff6dbb446cd02e5cdd463e85ef)
1de572d98SGarrett D'Amore#
2de572d98SGarrett D'Amore# This file and its contents are supplied under the terms of the
3de572d98SGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0.
4de572d98SGarrett D'Amore# You may only use this file in accordance with the terms of version
5de572d98SGarrett D'Amore# 1.0 of the CDDL.
6de572d98SGarrett D'Amore#
7de572d98SGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this
8de572d98SGarrett D'Amore# source.  A copy of the CDDL is also available via the Internet at
9de572d98SGarrett D'Amore# http://www.illumos.org/license/CDDL.
10de572d98SGarrett D'Amore#
11de572d98SGarrett D'Amore
12de572d98SGarrett D'Amore#
13de572d98SGarrett D'Amore# Copyright 2015 Garrett D'Amore <garrett@damore.org>
14de572d98SGarrett D'Amore#
15de572d98SGarrett D'Amore
16de572d98SGarrett D'Amore#
17de572d98SGarrett D'Amore# Definitions found in unistd.h
18de572d98SGarrett D'Amore#
19de572d98SGarrett D'Amore
20de572d98SGarrett D'Amore#
21de572d98SGarrett D'Amore# Types.
22de572d98SGarrett D'Amore#
23de572d98SGarrett D'Amoretype | pid_t | unistd.h | POSIX+ SUS+
24de572d98SGarrett D'Amore
25de572d98SGarrett D'Amore#
26de572d98SGarrett D'Amore# Values.
27de572d98SGarrett D'Amore#
28de572d98SGarrett D'Amore# Note that the standard requires the user declare environ.
29de572d98SGarrett D'Amore# value | environ | char ** | unistd.h | POSIX+ SUS+
30de572d98SGarrett D'Amorevalue | _CS_PATH				| int | unistd.h | SUS+
31de572d98SGarrett D'Amore
32de572d98SGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFF32_CFLAGS		| int | unistd.h | SUSv3+
33de572d98SGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFF32_LDFLAGS	| int | unistd.h | SUSv3+
34de572d98SGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFF32_LIBS		| int | unistd.h | SUSv3+
35de572d98SGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS	| int | unistd.h | SUSv3+
36de572d98SGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS	| int | unistd.h | SUSv3+
37de572d98SGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFFBIG_LIBS		| int | unistd.h | SUSv3+
38de572d98SGarrett D'Amorevalue | _CS_POSIX_V6_LP64_OFF64_CFLAGS		| int | unistd.h | SUSv3+
39de572d98SGarrett D'Amorevalue | _CS_POSIX_V6_LP64_OFF64_LDFLAGS		| int | unistd.h | SUSv3+
40de572d98SGarrett D'Amorevalue | _CS_POSIX_V6_LP64_OFF64_LIBS		| int | unistd.h | SUSv3+
41de572d98SGarrett D'Amorevalue | _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS	| int | unistd.h | SUSv3+
42de572d98SGarrett D'Amorevalue | _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS	| int | unistd.h | SUSv3+
43de572d98SGarrett D'Amorevalue | _CS_POSIX_V6_LPBIG_OFFBIG_LIBS		| int | unistd.h | SUSv3+
44de572d98SGarrett D'Amorevalue | _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS	| int | unistd.h | SUSv3+
45de572d98SGarrett D'Amore
46de572d98SGarrett D'Amore#
47de572d98SGarrett D'Amore# Functions
48de572d98SGarrett D'Amore#
49de572d98SGarrett D'Amorefunc |	access							|\
50de572d98SGarrett D'Amore	int							|\
51de572d98SGarrett D'Amore	const char *; int					|\
52de572d98SGarrett D'Amore	unistd.h | POSIX+ SUS+
53de572d98SGarrett D'Amore
54de572d98SGarrett D'Amorefunc |	chown							|\
55de572d98SGarrett D'Amore	int							|\
56de572d98SGarrett D'Amore	const char *; uid_t; gid_t				|\
57de572d98SGarrett D'Amore	unistd.h | POSIX+ SUS+
58de572d98SGarrett D'Amore
59de572d98SGarrett D'Amorefunc |	execl 							|\
60de572d98SGarrett D'Amore	int							|\
61de572d98SGarrett D'Amore	const char *; const char *				|\
62de572d98SGarrett D'Amore	unistd.h | POSIX+ SUS+
63de572d98SGarrett D'Amore
64de572d98SGarrett D'Amorefunc |	execle 							|\
65de572d98SGarrett D'Amore	int							|\
66de572d98SGarrett D'Amore	const char *; const char *; char *; char *const []	|\
67de572d98SGarrett D'Amore	unistd.h | POSIX+ SUS+
68de572d98SGarrett D'Amore
69de572d98SGarrett D'Amorefunc |	execlp 							|\
70de572d98SGarrett D'Amore	int							|\
71de572d98SGarrett D'Amore	const char *; const char *; char *			|\
72de572d98SGarrett D'Amore	unistd.h | POSIX+ SUS+
73de572d98SGarrett D'Amore
74de572d98SGarrett D'Amorefunc |	execv 							|\
75de572d98SGarrett D'Amore	int							|\
76de572d98SGarrett D'Amore	const char *; char *const []				|\
77de572d98SGarrett D'Amore	unistd.h | POSIX+ SUS+
78de572d98SGarrett D'Amore
79de572d98SGarrett D'Amorefunc |	execve 							|\
80de572d98SGarrett D'Amore	int							|\
81de572d98SGarrett D'Amore	const char *; char *const []; char *const []		|\
82de572d98SGarrett D'Amore	unistd.h | POSIX+ SUS+
83de572d98SGarrett D'Amore
84de572d98SGarrett D'Amorefunc |	execvp 							|\
85de572d98SGarrett D'Amore	int							|\
86de572d98SGarrett D'Amore	const char *; char *const []				|\
87de572d98SGarrett D'Amore	unistd.h | POSIX+ SUS+
88de572d98SGarrett D'Amore
89de572d98SGarrett D'Amorefunc |	fchown							|\
90de572d98SGarrett D'Amore	int							|\
91de572d98SGarrett D'Amore	int; uid_t; gid_t					|\
92de572d98SGarrett D'Amore	unistd.h | -POSIX+ SUS+
93de572d98SGarrett D'Amore
94de572d98SGarrett D'Amorefunc |	getlogin						|\
95de572d98SGarrett D'Amore	char *							|\
96de572d98SGarrett D'Amore	void							|\
97de572d98SGarrett D'Amore	unistd.h | POSIX+ SUS+
98de572d98SGarrett D'Amore
99de572d98SGarrett D'Amorefunc |	getlogin_r						|\
100de572d98SGarrett D'Amore	int							|\
101de572d98SGarrett D'Amore	char *; size_t						|\
102de572d98SGarrett D'Amore	unistd.h | -POSIX+ -SUS+ +POSIX-1995+ SUSv2+
103de572d98SGarrett D'Amore
104*aaec9ca2SGarrett D'Amorefunc |	getwd							|\
105*aaec9ca2SGarrett D'Amore	char *							|\
106*aaec9ca2SGarrett D'Amore	char *							|\
107*aaec9ca2SGarrett D'Amore	unistd.h | -ALL SUS+ -SUSv4+
108*aaec9ca2SGarrett D'Amore
109de572d98SGarrett D'Amorefunc |	lchown							|\
110de572d98SGarrett D'Amore	int							|\
111de572d98SGarrett D'Amore	const char *; uid_t; gid_t				|\
112de572d98SGarrett D'Amore	unistd.h | -POSIX+ SUS+
113de572d98SGarrett D'Amore
114de572d98SGarrett D'Amorefunc |	link							|\
115de572d98SGarrett D'Amore	int							|\
116de572d98SGarrett D'Amore	const char *; const char *				|\
117de572d98SGarrett D'Amore	unistd.h | POSIX+ SUS+
118de572d98SGarrett D'Amore
119de572d98SGarrett D'Amore# XPG3 may have put this here incorrectly (Open Group says no..., but...)
120de572d98SGarrett D'Amore# Probably this is actually our error, and we should kill it, but we can
121de572d98SGarrett D'Amore# do that when kill off XPG3 support altogether.
122de572d98SGarrett D'Amorefunc |	rename							|\
123de572d98SGarrett D'Amore	int							|\
124de572d98SGarrett D'Amore	const char *; const char *				|\
125de572d98SGarrett D'Amore	unistd.h | -POSIX+ +XPG3 -XPG4+
126de572d98SGarrett D'Amore
127de572d98SGarrett D'Amorefunc |	symlink							|\
128de572d98SGarrett D'Amore	int							|\
129de572d98SGarrett D'Amore	const char *; const char *				|\
130de572d98SGarrett D'Amore	unistd.h | -XPG3+ -POSIX+ SUS+
131de572d98SGarrett D'Amore
132de572d98SGarrett D'Amorefunc |	ttyname							|\
133de572d98SGarrett D'Amore	char *							|\
134de572d98SGarrett D'Amore	int							|\
135de572d98SGarrett D'Amore	unistd.h | POSIX+ SUS+
136de572d98SGarrett D'Amore
137de572d98SGarrett D'Amorefunc |	ttyname_r						|\
138de572d98SGarrett D'Amore	int							|\
139de572d98SGarrett D'Amore	int; char *; size_t					|\
140de572d98SGarrett D'Amore	unistd.h | -POSIX+ -SUS+ +POSIX-1995+ SUSv2+
141de572d98SGarrett D'Amore
142*aaec9ca2SGarrett D'Amorefunc |	ualarm							|\
143*aaec9ca2SGarrett D'Amore	int							|\
144*aaec9ca2SGarrett D'Amore	useconds_t; useconds_t						|\
145*aaec9ca2SGarrett D'Amore	unistd.h | -ALL SUS+ -SUSv4+
146*aaec9ca2SGarrett D'Amore
147de572d98SGarrett D'Amorefunc |	unlink							|\
148de572d98SGarrett D'Amore	int							|\
149de572d98SGarrett D'Amore	const char *						|\
150de572d98SGarrett D'Amore	unistd.h | POSIX+ XPG3+
151*aaec9ca2SGarrett D'Amore
152*aaec9ca2SGarrett D'Amorefunc |	usleep							|\
153*aaec9ca2SGarrett D'Amore	int							|\
154*aaec9ca2SGarrett D'Amore	useconds_t						|\
155*aaec9ca2SGarrett D'Amore	unistd.h | -ALL SUS+ -SUSv4+
156*aaec9ca2SGarrett D'Amore
157*aaec9ca2SGarrett D'Amorefunc |	vfork							|\
158*aaec9ca2SGarrett D'Amore	pid_t							|\
159*aaec9ca2SGarrett D'Amore	void							|\
160*aaec9ca2SGarrett D'Amore	unistd.h | -ALL SUS+ -SUSv4+
161