xref: /freebsd/lib/libc/include/un-namespace.h (revision 0b57cec536236d46e3dba9bd041533462f33dbb7)
1 /*-
2  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3  *
4  * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  * 1. Redistributions of source code must retain the above copyright
11  *    notice, this list of conditions and the following disclaimer.
12  * 2. Redistributions in binary form must reproduce the above copyright
13  *    notice, this list of conditions and the following disclaimer in the
14  *    documentation and/or other materials provided with the distribution.
15  *
16  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26  * SUCH DAMAGE.
27  *
28  * $FreeBSD$
29  */
30 
31 #ifndef _UN_NAMESPACE_H_
32 #define _UN_NAMESPACE_H_
33 
34 #undef		accept
35 #undef		__acl_aclcheck_fd
36 #undef		__acl_delete_fd
37 #undef		__acl_get_fd
38 #undef		__acl_set_fd
39 #undef		bind
40 #undef		__cap_get_fd
41 #undef		__cap_set_fd
42 #undef		clock_nanosleep
43 #undef		close
44 #undef		connect
45 #undef		dup
46 #undef		dup2
47 #undef		execve
48 #undef		fcntl
49 #undef		flock
50 #undef		flockfile
51 #undef		fpathconf
52 #undef		fstat
53 #undef		fstatfs
54 #undef		fsync
55 #undef		funlockfile
56 #undef		getdirentries
57 #undef		getlogin
58 #undef		getpeername
59 #undef		getprogname
60 #undef		getsockname
61 #undef		getsockopt
62 #undef		ioctl
63 #undef		kevent
64 #undef		listen
65 #undef		nanosleep
66 #undef		open
67 #undef		openat
68 #undef		poll
69 #undef		pthread_atfork
70 #undef		pthread_attr_destroy
71 #undef		pthread_attr_get_np
72 #undef		pthread_attr_getaffinity_np
73 #undef		pthread_attr_getdetachstate
74 #undef		pthread_attr_getguardsize
75 #undef		pthread_attr_getinheritsched
76 #undef		pthread_attr_getschedparam
77 #undef		pthread_attr_getschedpolicy
78 #undef		pthread_attr_getscope
79 #undef		pthread_attr_getstack
80 #undef		pthread_attr_getstackaddr
81 #undef		pthread_attr_getstacksize
82 #undef		pthread_attr_init
83 #undef		pthread_attr_setaffinity_np
84 #undef		pthread_attr_setcreatesuspend_np
85 #undef		pthread_attr_setdetachstate
86 #undef		pthread_attr_setguardsize
87 #undef		pthread_attr_setinheritsched
88 #undef		pthread_attr_setschedparam
89 #undef		pthread_attr_setschedpolicy
90 #undef		pthread_attr_setscope
91 #undef		pthread_attr_setstack
92 #undef		pthread_attr_setstackaddr
93 #undef		pthread_attr_setstacksize
94 #undef		pthread_barrier_destroy
95 #undef		pthread_barrier_init
96 #undef		pthread_barrier_wait
97 #undef		pthread_barrierattr_destroy
98 #undef		pthread_barrierattr_getpshared
99 #undef		pthread_barrierattr_init
100 #undef		pthread_barrierattr_setpshared
101 #undef		pthread_cancel
102 #undef		pthread_cond_broadcast
103 #undef		pthread_cond_destroy
104 #undef		pthread_cond_init
105 #undef		pthread_cond_signal
106 #undef		pthread_cond_timedwait
107 #undef		pthread_cond_wait
108 #undef		pthread_condattr_destroy
109 #undef		pthread_condattr_getclock
110 #undef		pthread_condattr_getpshared
111 #undef		pthread_condattr_init
112 #undef		pthread_condattr_setclock
113 #undef		pthread_condattr_setpshared
114 #undef		pthread_create
115 #undef		pthread_detach
116 #undef		pthread_equal
117 #undef		pthread_exit
118 #undef		pthread_get_name_np
119 #undef		pthread_getaffinity_np
120 #undef		pthread_getconcurrency
121 #undef		pthread_getcpuclockid
122 #undef		pthread_getprio
123 #undef		pthread_getschedparam
124 #undef		pthread_getspecific
125 #undef		pthread_getthreadid_np
126 #undef		pthread_join
127 #undef		pthread_key_create
128 #undef		pthread_key_delete
129 #undef		pthread_kill
130 #undef		pthread_main_np
131 #undef		pthread_multi_np
132 #undef		pthread_mutex_destroy
133 #undef		pthread_mutex_getprioceiling
134 #undef		pthread_mutex_init
135 #undef		pthread_mutex_isowned_np
136 #undef		pthread_mutex_lock
137 #undef		pthread_mutex_setprioceiling
138 #undef		pthread_mutex_timedlock
139 #undef		pthread_mutex_trylock
140 #undef		pthread_mutex_unlock
141 #undef		pthread_mutexattr_destroy
142 #undef		pthread_mutexattr_getkind_np
143 #undef		pthread_mutexattr_getprioceiling
144 #undef		pthread_mutexattr_getprotocol
145 #undef		pthread_mutexattr_getpshared
146 #undef		pthread_mutexattr_gettype
147 #undef		pthread_mutexattr_init
148 #undef		pthread_mutexattr_setkind_np
149 #undef		pthread_mutexattr_setprioceiling
150 #undef		pthread_mutexattr_setprotocol
151 #undef		pthread_mutexattr_setpshared
152 #undef		pthread_mutexattr_settype
153 #undef		pthread_once
154 #undef		pthread_resume_all_np
155 #undef		pthread_resume_np
156 #undef		pthread_rwlock_destroy
157 #undef		pthread_rwlock_init
158 #undef		pthread_rwlock_rdlock
159 #undef		pthread_rwlock_timedrdlock
160 #undef		pthread_rwlock_timedwrlock
161 #undef		pthread_rwlock_tryrdlock
162 #undef		pthread_rwlock_trywrlock
163 #undef		pthread_rwlock_unlock
164 #undef		pthread_rwlock_wrlock
165 #undef		pthread_rwlockattr_destroy
166 #undef		pthread_rwlockattr_getpshared
167 #undef		pthread_rwlockattr_init
168 #undef		pthread_rwlockattr_setpshared
169 #undef		pthread_self
170 #undef		pthread_set_name_np
171 #undef		pthread_setaffinity_np
172 #undef		pthread_setcancelstate
173 #undef		pthread_setcanceltype
174 #undef		pthread_setconcurrency
175 #undef		pthread_setprio
176 #undef		pthread_setschedparam
177 #undef		pthread_setspecific
178 #undef		pthread_sigmask
179 #undef		pthread_single_np
180 #undef		pthread_spin_destroy
181 #undef		pthread_spin_init
182 #undef		pthread_spin_lock
183 #undef		pthread_spin_trylock
184 #undef		pthread_spin_unlock
185 #undef		pthread_suspend_all_np
186 #undef		pthread_suspend_np
187 #undef		pthread_switch_add_np
188 #undef		pthread_switch_delete_np
189 #undef		pthread_testcancel
190 #undef		pthread_timedjoin_np
191 #undef		pthread_yield
192 #undef		read
193 #undef		readv
194 #undef		recvfrom
195 #undef		recvmsg
196 #undef		recvmmsg
197 #undef		select
198 #undef		sem_close
199 #undef		sem_destroy
200 #undef		sem_getvalue
201 #undef		sem_init
202 #undef		sem_open
203 #undef		sem_post
204 #undef		sem_timedwait
205 #undef		sem_clockwait_np
206 #undef		sem_trywait
207 #undef		sem_unlink
208 #undef		sem_wait
209 #undef		sendmsg
210 #undef		sendmmsg
211 #undef		sendto
212 #undef		setsockopt
213 #undef		sigaction
214 #undef		sigprocmask
215 #undef		sigsuspend
216 #undef		socket
217 #undef		socketpair
218 #undef		usleep
219 #undef		wait4
220 #undef		wait6
221 #undef		waitpid
222 #undef		write
223 #undef		writev
224 
225 #if 0
226 #undef		creat
227 #undef		fchflags
228 #undef		fchmod
229 #undef		ftrylockfile
230 #undef		msync
231 #undef		nfssvc
232 #undef		pause
233 #undef		sched_yield
234 #undef		sendfile
235 #undef		shutdown
236 #undef		sigaltstack
237 #undef		sigpending
238 #undef		sigreturn
239 #undef		sigsetmask
240 #undef		sleep
241 #undef		system
242 #undef		tcdrain
243 #undef		wait
244 #endif	/* 0 */
245 
246 #ifdef _SIGNAL_H_
247 int     	_sigaction(int, const struct sigaction *, struct sigaction *);
248 #endif
249 
250 #ifdef _SYS_EVENT_H_
251 int		_kevent(int, const struct kevent *, int, struct kevent *,
252 		    int, const struct timespec *);
253 #endif
254 
255 #ifdef _SYS_FCNTL_H_
256 int		_flock(int, int);
257 #endif
258 
259 #undef		err
260 #undef		warn
261 #undef		nsdispatch
262 
263 #endif	/* _UN_NAMESPACE_H_ */
264