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