xref: /freebsd/lib/libc/include/un-namespace.h (revision 4627d47b)
1d915a14eSPedro F. Giffuni /*-
2d915a14eSPedro F. Giffuni  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3d915a14eSPedro F. Giffuni  *
4d201fe46SDaniel Eischen  * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
5d201fe46SDaniel Eischen  * All rights reserved.
6d201fe46SDaniel Eischen  *
7d201fe46SDaniel Eischen  * Redistribution and use in source and binary forms, with or without
8d201fe46SDaniel Eischen  * modification, are permitted provided that the following conditions
9d201fe46SDaniel Eischen  * are met:
10d201fe46SDaniel Eischen  * 1. Redistributions of source code must retain the above copyright
11d201fe46SDaniel Eischen  *    notice, this list of conditions and the following disclaimer.
12d201fe46SDaniel Eischen  * 2. Redistributions in binary form must reproduce the above copyright
13d201fe46SDaniel Eischen  *    notice, this list of conditions and the following disclaimer in the
14d201fe46SDaniel Eischen  *    documentation and/or other materials provided with the distribution.
15d201fe46SDaniel Eischen  *
16d201fe46SDaniel Eischen  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17d201fe46SDaniel Eischen  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18d201fe46SDaniel Eischen  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19d201fe46SDaniel Eischen  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20d201fe46SDaniel Eischen  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21d201fe46SDaniel Eischen  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22d201fe46SDaniel Eischen  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23d201fe46SDaniel Eischen  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24d201fe46SDaniel Eischen  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25d201fe46SDaniel Eischen  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26d201fe46SDaniel Eischen  * SUCH DAMAGE.
27d201fe46SDaniel Eischen  *
28d201fe46SDaniel Eischen  * $FreeBSD$
29d201fe46SDaniel Eischen  */
30d201fe46SDaniel Eischen 
31d201fe46SDaniel Eischen #ifndef _UN_NAMESPACE_H_
32d201fe46SDaniel Eischen #define _UN_NAMESPACE_H_
33d201fe46SDaniel Eischen 
34d201fe46SDaniel Eischen #undef		accept
3537bc56f8SThomas Moestl #undef		__acl_aclcheck_fd
3637bc56f8SThomas Moestl #undef		__acl_delete_fd
3737bc56f8SThomas Moestl #undef		__acl_get_fd
3837bc56f8SThomas Moestl #undef		__acl_set_fd
39d201fe46SDaniel Eischen #undef		bind
4037bc56f8SThomas Moestl #undef		__cap_get_fd
4137bc56f8SThomas Moestl #undef		__cap_set_fd
423f8455b0SEric van Gyzen #undef		clock_nanosleep
43d201fe46SDaniel Eischen #undef		close
44d201fe46SDaniel Eischen #undef		connect
45d201fe46SDaniel Eischen #undef		dup
46d201fe46SDaniel Eischen #undef		dup2
47d201fe46SDaniel Eischen #undef		execve
48d201fe46SDaniel Eischen #undef		fcntl
49d201fe46SDaniel Eischen #undef		flock
50d201fe46SDaniel Eischen #undef		flockfile
51e0554a53SJacques Vidrine #undef		fpathconf
52d201fe46SDaniel Eischen #undef		fstat
53d201fe46SDaniel Eischen #undef		fstatfs
54d201fe46SDaniel Eischen #undef		fsync
55d201fe46SDaniel Eischen #undef		funlockfile
56d201fe46SDaniel Eischen #undef		getdirentries
57d201fe46SDaniel Eischen #undef		getlogin
58d201fe46SDaniel Eischen #undef		getpeername
594cd01193SMark Murray #undef		getprogname
60d201fe46SDaniel Eischen #undef		getsockname
61d201fe46SDaniel Eischen #undef		getsockopt
62d201fe46SDaniel Eischen #undef		ioctl
63d201fe46SDaniel Eischen #undef		kevent
64d201fe46SDaniel Eischen #undef		listen
65d201fe46SDaniel Eischen #undef		nanosleep
66d201fe46SDaniel Eischen #undef		open
6729670497SJilles Tjoelker #undef		openat
68fb22a377SDaniel Eischen #undef		poll
69764fc0fbSDavid Xu #undef		pthread_atfork
70764fc0fbSDavid Xu #undef		pthread_attr_destroy
7123a8b785SDag-Erling Smørgrav #undef		pthread_attr_get_np
72e03efb02SRuslan Ermilov #undef		pthread_attr_getaffinity_np
73764fc0fbSDavid Xu #undef		pthread_attr_getdetachstate
74764fc0fbSDavid Xu #undef		pthread_attr_getguardsize
75764fc0fbSDavid Xu #undef		pthread_attr_getinheritsched
76764fc0fbSDavid Xu #undef		pthread_attr_getschedparam
77764fc0fbSDavid Xu #undef		pthread_attr_getschedpolicy
78764fc0fbSDavid Xu #undef		pthread_attr_getscope
7923a8b785SDag-Erling Smørgrav #undef		pthread_attr_getstack
8023a8b785SDag-Erling Smørgrav #undef		pthread_attr_getstackaddr
8123a8b785SDag-Erling Smørgrav #undef		pthread_attr_getstacksize
82764fc0fbSDavid Xu #undef		pthread_attr_init
83e03efb02SRuslan Ermilov #undef		pthread_attr_setaffinity_np
8423a8b785SDag-Erling Smørgrav #undef		pthread_attr_setcreatesuspend_np
85764fc0fbSDavid Xu #undef		pthread_attr_setdetachstate
86764fc0fbSDavid Xu #undef		pthread_attr_setguardsize
87764fc0fbSDavid Xu #undef		pthread_attr_setinheritsched
88764fc0fbSDavid Xu #undef		pthread_attr_setschedparam
89764fc0fbSDavid Xu #undef		pthread_attr_setschedpolicy
90764fc0fbSDavid Xu #undef		pthread_attr_setscope
9123a8b785SDag-Erling Smørgrav #undef		pthread_attr_setstack
9223a8b785SDag-Erling Smørgrav #undef		pthread_attr_setstackaddr
9323a8b785SDag-Erling Smørgrav #undef		pthread_attr_setstacksize
9423a8b785SDag-Erling Smørgrav #undef		pthread_barrier_destroy
9523a8b785SDag-Erling Smørgrav #undef		pthread_barrier_init
9623a8b785SDag-Erling Smørgrav #undef		pthread_barrier_wait
9723a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_destroy
9823a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_getpshared
9923a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_init
10023a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_setpshared
101764fc0fbSDavid Xu #undef		pthread_cancel
102fb22a377SDaniel Eischen #undef		pthread_cond_broadcast
103fb22a377SDaniel Eischen #undef		pthread_cond_destroy
104fb22a377SDaniel Eischen #undef		pthread_cond_init
105fb22a377SDaniel Eischen #undef		pthread_cond_signal
106fb22a377SDaniel Eischen #undef		pthread_cond_timedwait
107fb22a377SDaniel Eischen #undef		pthread_cond_wait
10823a8b785SDag-Erling Smørgrav #undef		pthread_condattr_destroy
10923a8b785SDag-Erling Smørgrav #undef		pthread_condattr_getclock
11023a8b785SDag-Erling Smørgrav #undef		pthread_condattr_getpshared
11123a8b785SDag-Erling Smørgrav #undef		pthread_condattr_init
11223a8b785SDag-Erling Smørgrav #undef		pthread_condattr_setclock
11323a8b785SDag-Erling Smørgrav #undef		pthread_condattr_setpshared
11423a8b785SDag-Erling Smørgrav #undef		pthread_create
115764fc0fbSDavid Xu #undef		pthread_detach
116764fc0fbSDavid Xu #undef		pthread_equal
117fb22a377SDaniel Eischen #undef		pthread_exit
1184627d47bSKonstantin Belousov #undef		pthread_get_name_np
1197a30bcf0SDavid Xu #undef		pthread_getaffinity_np
12023a8b785SDag-Erling Smørgrav #undef		pthread_getconcurrency
121e03efb02SRuslan Ermilov #undef		pthread_getcpuclockid
12223a8b785SDag-Erling Smørgrav #undef		pthread_getprio
12323a8b785SDag-Erling Smørgrav #undef		pthread_getschedparam
124d201fe46SDaniel Eischen #undef		pthread_getspecific
125678b238cSJung-uk Kim #undef		pthread_getthreadid_np
126764fc0fbSDavid Xu #undef		pthread_join
127d201fe46SDaniel Eischen #undef		pthread_key_create
128d201fe46SDaniel Eischen #undef		pthread_key_delete
12923a8b785SDag-Erling Smørgrav #undef		pthread_kill
130fb22a377SDaniel Eischen #undef		pthread_main_np
13123a8b785SDag-Erling Smørgrav #undef		pthread_multi_np
132d201fe46SDaniel Eischen #undef		pthread_mutex_destroy
13323a8b785SDag-Erling Smørgrav #undef		pthread_mutex_getprioceiling
134d201fe46SDaniel Eischen #undef		pthread_mutex_init
1353cd52a77SDag-Erling Smørgrav #undef		pthread_mutex_isowned_np
136d201fe46SDaniel Eischen #undef		pthread_mutex_lock
13723a8b785SDag-Erling Smørgrav #undef		pthread_mutex_setprioceiling
13823a8b785SDag-Erling Smørgrav #undef		pthread_mutex_timedlock
139d201fe46SDaniel Eischen #undef		pthread_mutex_trylock
140d201fe46SDaniel Eischen #undef		pthread_mutex_unlock
141764fc0fbSDavid Xu #undef		pthread_mutexattr_destroy
14223a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getkind_np
14323a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getprioceiling
14423a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getprotocol
14523a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getpshared
14623a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_gettype
147d201fe46SDaniel Eischen #undef		pthread_mutexattr_init
14823a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setkind_np
14923a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setprioceiling
15023a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setprotocol
15123a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setpshared
152d201fe46SDaniel Eischen #undef		pthread_mutexattr_settype
153d201fe46SDaniel Eischen #undef		pthread_once
15423a8b785SDag-Erling Smørgrav #undef		pthread_resume_all_np
15523a8b785SDag-Erling Smørgrav #undef		pthread_resume_np
156fb22a377SDaniel Eischen #undef		pthread_rwlock_destroy
157fb22a377SDaniel Eischen #undef		pthread_rwlock_init
158fb22a377SDaniel Eischen #undef		pthread_rwlock_rdlock
15923a8b785SDag-Erling Smørgrav #undef		pthread_rwlock_timedrdlock
16023a8b785SDag-Erling Smørgrav #undef		pthread_rwlock_timedwrlock
161fb22a377SDaniel Eischen #undef		pthread_rwlock_tryrdlock
162fb22a377SDaniel Eischen #undef		pthread_rwlock_trywrlock
163fb22a377SDaniel Eischen #undef		pthread_rwlock_unlock
16423a8b785SDag-Erling Smørgrav #undef		pthread_rwlock_wrlock
16523a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_destroy
16623a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_getpshared
16723a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_init
16823a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_setpshared
16929ac6bd2SDaniel Eischen #undef		pthread_self
17023a8b785SDag-Erling Smørgrav #undef		pthread_set_name_np
1717a30bcf0SDavid Xu #undef		pthread_setaffinity_np
172764fc0fbSDavid Xu #undef		pthread_setcancelstate
173764fc0fbSDavid Xu #undef		pthread_setcanceltype
17423a8b785SDag-Erling Smørgrav #undef		pthread_setconcurrency
17523a8b785SDag-Erling Smørgrav #undef		pthread_setprio
17623a8b785SDag-Erling Smørgrav #undef		pthread_setschedparam
177d201fe46SDaniel Eischen #undef		pthread_setspecific
178fb22a377SDaniel Eischen #undef		pthread_sigmask
17923a8b785SDag-Erling Smørgrav #undef		pthread_single_np
18023a8b785SDag-Erling Smørgrav #undef		pthread_spin_destroy
18123a8b785SDag-Erling Smørgrav #undef		pthread_spin_init
18223a8b785SDag-Erling Smørgrav #undef		pthread_spin_lock
18323a8b785SDag-Erling Smørgrav #undef		pthread_spin_trylock
18423a8b785SDag-Erling Smørgrav #undef		pthread_spin_unlock
18523a8b785SDag-Erling Smørgrav #undef		pthread_suspend_all_np
18623a8b785SDag-Erling Smørgrav #undef		pthread_suspend_np
18723a8b785SDag-Erling Smørgrav #undef		pthread_switch_add_np
18823a8b785SDag-Erling Smørgrav #undef		pthread_switch_delete_np
189764fc0fbSDavid Xu #undef		pthread_testcancel
19023a8b785SDag-Erling Smørgrav #undef		pthread_timedjoin_np
19123a8b785SDag-Erling Smørgrav #undef		pthread_yield
192d201fe46SDaniel Eischen #undef		read
193d201fe46SDaniel Eischen #undef		readv
194d201fe46SDaniel Eischen #undef		recvfrom
195d201fe46SDaniel Eischen #undef		recvmsg
196bf420aceSKonstantin Belousov #undef		recvmmsg
197d201fe46SDaniel Eischen #undef		select
198a0da77c9SDag-Erling Smørgrav #undef		sem_close
199a0da77c9SDag-Erling Smørgrav #undef		sem_destroy
200a0da77c9SDag-Erling Smørgrav #undef		sem_getvalue
201a0da77c9SDag-Erling Smørgrav #undef		sem_init
202a0da77c9SDag-Erling Smørgrav #undef		sem_open
203a0da77c9SDag-Erling Smørgrav #undef		sem_post
204a0da77c9SDag-Erling Smørgrav #undef		sem_timedwait
205b215ceaaSEric van Gyzen #undef		sem_clockwait_np
206a0da77c9SDag-Erling Smørgrav #undef		sem_trywait
207a0da77c9SDag-Erling Smørgrav #undef		sem_unlink
208a0da77c9SDag-Erling Smørgrav #undef		sem_wait
209d201fe46SDaniel Eischen #undef		sendmsg
210bf420aceSKonstantin Belousov #undef		sendmmsg
211d201fe46SDaniel Eischen #undef		sendto
212d201fe46SDaniel Eischen #undef		setsockopt
213d201fe46SDaniel Eischen #undef		sigaction
214d201fe46SDaniel Eischen #undef		sigprocmask
215d201fe46SDaniel Eischen #undef		sigsuspend
216d201fe46SDaniel Eischen #undef		socket
217d201fe46SDaniel Eischen #undef		socketpair
21878956f24SDaniel Eischen #undef		usleep
219d201fe46SDaniel Eischen #undef		wait4
220eb3d4e1fSKonstantin Belousov #undef		wait6
221cdfbf192STim J. Robbins #undef		waitpid
222d201fe46SDaniel Eischen #undef		write
223d201fe46SDaniel Eischen #undef		writev
224d201fe46SDaniel Eischen 
225d201fe46SDaniel Eischen #if 0
226d201fe46SDaniel Eischen #undef		creat
227d201fe46SDaniel Eischen #undef		fchflags
228d201fe46SDaniel Eischen #undef		fchmod
229d201fe46SDaniel Eischen #undef		ftrylockfile
230d201fe46SDaniel Eischen #undef		msync
231d201fe46SDaniel Eischen #undef		nfssvc
232d201fe46SDaniel Eischen #undef		pause
233d201fe46SDaniel Eischen #undef		sched_yield
234d201fe46SDaniel Eischen #undef		sendfile
235d201fe46SDaniel Eischen #undef		shutdown
236d201fe46SDaniel Eischen #undef		sigaltstack
237d201fe46SDaniel Eischen #undef		sigpending
238d201fe46SDaniel Eischen #undef		sigreturn
239d201fe46SDaniel Eischen #undef		sigsetmask
240d201fe46SDaniel Eischen #undef		sleep
241d201fe46SDaniel Eischen #undef		system
242d201fe46SDaniel Eischen #undef		tcdrain
243d201fe46SDaniel Eischen #undef		wait
244d201fe46SDaniel Eischen #endif	/* 0 */
245d201fe46SDaniel Eischen 
246d201fe46SDaniel Eischen #ifdef _SIGNAL_H_
247d201fe46SDaniel Eischen int     	_sigaction(int, const struct sigaction *, struct sigaction *);
248d201fe46SDaniel Eischen #endif
249d201fe46SDaniel Eischen 
250d201fe46SDaniel Eischen #ifdef _SYS_EVENT_H_
251d201fe46SDaniel Eischen int		_kevent(int, const struct kevent *, int, struct kevent *,
252d201fe46SDaniel Eischen 		    int, const struct timespec *);
253d201fe46SDaniel Eischen #endif
254d201fe46SDaniel Eischen 
255d201fe46SDaniel Eischen #ifdef _SYS_FCNTL_H_
256d201fe46SDaniel Eischen int		_flock(int, int);
257d201fe46SDaniel Eischen #endif
258d201fe46SDaniel Eischen 
259ac8e56a7SBruce Evans #undef		err
2601643f03dSBruce Evans #undef		warn
26146d93063SJacques Vidrine #undef		nsdispatch
2621643f03dSBruce Evans 
263d201fe46SDaniel Eischen #endif	/* _UN_NAMESPACE_H_ */
264