xref: /freebsd/lib/libc/include/un-namespace.h (revision b3e76948)
1d915a14eSPedro F. Giffuni /*-
24d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
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 
29d201fe46SDaniel Eischen #ifndef _UN_NAMESPACE_H_
30d201fe46SDaniel Eischen #define _UN_NAMESPACE_H_
31d201fe46SDaniel Eischen 
32d201fe46SDaniel Eischen #undef		accept
3337bc56f8SThomas Moestl #undef		__acl_aclcheck_fd
3437bc56f8SThomas Moestl #undef		__acl_delete_fd
3537bc56f8SThomas Moestl #undef		__acl_get_fd
3637bc56f8SThomas Moestl #undef		__acl_set_fd
37d201fe46SDaniel Eischen #undef		bind
3837bc56f8SThomas Moestl #undef		__cap_get_fd
3937bc56f8SThomas Moestl #undef		__cap_set_fd
403f8455b0SEric van Gyzen #undef		clock_nanosleep
41d201fe46SDaniel Eischen #undef		close
42d201fe46SDaniel Eischen #undef		connect
43d201fe46SDaniel Eischen #undef		dup
44d201fe46SDaniel Eischen #undef		dup2
45d201fe46SDaniel Eischen #undef		execve
46d201fe46SDaniel Eischen #undef		fcntl
47d201fe46SDaniel Eischen #undef		flock
48d201fe46SDaniel Eischen #undef		flockfile
49e0554a53SJacques Vidrine #undef		fpathconf
50d201fe46SDaniel Eischen #undef		fstat
51d201fe46SDaniel Eischen #undef		fstatfs
52d201fe46SDaniel Eischen #undef		fsync
53d201fe46SDaniel Eischen #undef		funlockfile
54d201fe46SDaniel Eischen #undef		getdirentries
55d201fe46SDaniel Eischen #undef		getlogin
56d201fe46SDaniel Eischen #undef		getpeername
574cd01193SMark Murray #undef		getprogname
58d201fe46SDaniel Eischen #undef		getsockname
59d201fe46SDaniel Eischen #undef		getsockopt
60d201fe46SDaniel Eischen #undef		ioctl
61d201fe46SDaniel Eischen #undef		kevent
62d201fe46SDaniel Eischen #undef		listen
63d201fe46SDaniel Eischen #undef		nanosleep
64d201fe46SDaniel Eischen #undef		open
6529670497SJilles Tjoelker #undef		openat
66fb22a377SDaniel Eischen #undef		poll
67764fc0fbSDavid Xu #undef		pthread_atfork
68764fc0fbSDavid Xu #undef		pthread_attr_destroy
6923a8b785SDag-Erling Smørgrav #undef		pthread_attr_get_np
70e03efb02SRuslan Ermilov #undef		pthread_attr_getaffinity_np
71764fc0fbSDavid Xu #undef		pthread_attr_getdetachstate
72764fc0fbSDavid Xu #undef		pthread_attr_getguardsize
73764fc0fbSDavid Xu #undef		pthread_attr_getinheritsched
74764fc0fbSDavid Xu #undef		pthread_attr_getschedparam
75764fc0fbSDavid Xu #undef		pthread_attr_getschedpolicy
76764fc0fbSDavid Xu #undef		pthread_attr_getscope
7723a8b785SDag-Erling Smørgrav #undef		pthread_attr_getstack
7823a8b785SDag-Erling Smørgrav #undef		pthread_attr_getstackaddr
7923a8b785SDag-Erling Smørgrav #undef		pthread_attr_getstacksize
80764fc0fbSDavid Xu #undef		pthread_attr_init
81e03efb02SRuslan Ermilov #undef		pthread_attr_setaffinity_np
8223a8b785SDag-Erling Smørgrav #undef		pthread_attr_setcreatesuspend_np
83764fc0fbSDavid Xu #undef		pthread_attr_setdetachstate
84764fc0fbSDavid Xu #undef		pthread_attr_setguardsize
85764fc0fbSDavid Xu #undef		pthread_attr_setinheritsched
86764fc0fbSDavid Xu #undef		pthread_attr_setschedparam
87764fc0fbSDavid Xu #undef		pthread_attr_setschedpolicy
88764fc0fbSDavid Xu #undef		pthread_attr_setscope
8923a8b785SDag-Erling Smørgrav #undef		pthread_attr_setstack
9023a8b785SDag-Erling Smørgrav #undef		pthread_attr_setstackaddr
9123a8b785SDag-Erling Smørgrav #undef		pthread_attr_setstacksize
9223a8b785SDag-Erling Smørgrav #undef		pthread_barrier_destroy
9323a8b785SDag-Erling Smørgrav #undef		pthread_barrier_init
9423a8b785SDag-Erling Smørgrav #undef		pthread_barrier_wait
9523a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_destroy
9623a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_getpshared
9723a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_init
9823a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_setpshared
99764fc0fbSDavid Xu #undef		pthread_cancel
100fb22a377SDaniel Eischen #undef		pthread_cond_broadcast
101fb22a377SDaniel Eischen #undef		pthread_cond_destroy
102fb22a377SDaniel Eischen #undef		pthread_cond_init
103fb22a377SDaniel Eischen #undef		pthread_cond_signal
104fb22a377SDaniel Eischen #undef		pthread_cond_timedwait
105fb22a377SDaniel Eischen #undef		pthread_cond_wait
10623a8b785SDag-Erling Smørgrav #undef		pthread_condattr_destroy
10723a8b785SDag-Erling Smørgrav #undef		pthread_condattr_getclock
10823a8b785SDag-Erling Smørgrav #undef		pthread_condattr_getpshared
10923a8b785SDag-Erling Smørgrav #undef		pthread_condattr_init
11023a8b785SDag-Erling Smørgrav #undef		pthread_condattr_setclock
11123a8b785SDag-Erling Smørgrav #undef		pthread_condattr_setpshared
11223a8b785SDag-Erling Smørgrav #undef		pthread_create
113764fc0fbSDavid Xu #undef		pthread_detach
114764fc0fbSDavid Xu #undef		pthread_equal
115fb22a377SDaniel Eischen #undef		pthread_exit
1164627d47bSKonstantin Belousov #undef		pthread_get_name_np
1177a30bcf0SDavid Xu #undef		pthread_getaffinity_np
11823a8b785SDag-Erling Smørgrav #undef		pthread_getconcurrency
119e03efb02SRuslan Ermilov #undef		pthread_getcpuclockid
1202ef84b7dSKonstantin Belousov #undef		pthread_getname_np
12123a8b785SDag-Erling Smørgrav #undef		pthread_getprio
12223a8b785SDag-Erling Smørgrav #undef		pthread_getschedparam
123d201fe46SDaniel Eischen #undef		pthread_getspecific
124678b238cSJung-uk Kim #undef		pthread_getthreadid_np
125764fc0fbSDavid Xu #undef		pthread_join
126d201fe46SDaniel Eischen #undef		pthread_key_create
127d201fe46SDaniel Eischen #undef		pthread_key_delete
12823a8b785SDag-Erling Smørgrav #undef		pthread_kill
129fb22a377SDaniel Eischen #undef		pthread_main_np
13023a8b785SDag-Erling Smørgrav #undef		pthread_multi_np
131d201fe46SDaniel Eischen #undef		pthread_mutex_destroy
13223a8b785SDag-Erling Smørgrav #undef		pthread_mutex_getprioceiling
133d201fe46SDaniel Eischen #undef		pthread_mutex_init
1343cd52a77SDag-Erling Smørgrav #undef		pthread_mutex_isowned_np
135d201fe46SDaniel Eischen #undef		pthread_mutex_lock
13623a8b785SDag-Erling Smørgrav #undef		pthread_mutex_setprioceiling
13723a8b785SDag-Erling Smørgrav #undef		pthread_mutex_timedlock
138d201fe46SDaniel Eischen #undef		pthread_mutex_trylock
139d201fe46SDaniel Eischen #undef		pthread_mutex_unlock
140764fc0fbSDavid Xu #undef		pthread_mutexattr_destroy
14123a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getkind_np
14223a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getprioceiling
14323a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getprotocol
14423a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getpshared
14523a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_gettype
146d201fe46SDaniel Eischen #undef		pthread_mutexattr_init
14723a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setkind_np
14823a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setprioceiling
14923a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setprotocol
15023a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setpshared
151d201fe46SDaniel Eischen #undef		pthread_mutexattr_settype
152d201fe46SDaniel Eischen #undef		pthread_once
15323a8b785SDag-Erling Smørgrav #undef		pthread_resume_all_np
15423a8b785SDag-Erling Smørgrav #undef		pthread_resume_np
155fb22a377SDaniel Eischen #undef		pthread_rwlock_destroy
156fb22a377SDaniel Eischen #undef		pthread_rwlock_init
157fb22a377SDaniel Eischen #undef		pthread_rwlock_rdlock
15823a8b785SDag-Erling Smørgrav #undef		pthread_rwlock_timedrdlock
15923a8b785SDag-Erling Smørgrav #undef		pthread_rwlock_timedwrlock
160fb22a377SDaniel Eischen #undef		pthread_rwlock_tryrdlock
161fb22a377SDaniel Eischen #undef		pthread_rwlock_trywrlock
162fb22a377SDaniel Eischen #undef		pthread_rwlock_unlock
16323a8b785SDag-Erling Smørgrav #undef		pthread_rwlock_wrlock
16423a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_destroy
16523a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_getpshared
16623a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_init
16723a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_setpshared
16829ac6bd2SDaniel Eischen #undef		pthread_self
16923a8b785SDag-Erling Smørgrav #undef		pthread_set_name_np
1707a30bcf0SDavid Xu #undef		pthread_setaffinity_np
171764fc0fbSDavid Xu #undef		pthread_setcancelstate
172764fc0fbSDavid Xu #undef		pthread_setcanceltype
17323a8b785SDag-Erling Smørgrav #undef		pthread_setconcurrency
1742ef84b7dSKonstantin Belousov #undef		pthread_setname_np
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