xref: /freebsd/lib/libc/include/un-namespace.h (revision b215ceaa)
1d201fe46SDaniel Eischen /*
2d201fe46SDaniel Eischen  * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
3d201fe46SDaniel Eischen  * All rights reserved.
4d201fe46SDaniel Eischen  *
5d201fe46SDaniel Eischen  * Redistribution and use in source and binary forms, with or without
6d201fe46SDaniel Eischen  * modification, are permitted provided that the following conditions
7d201fe46SDaniel Eischen  * are met:
8d201fe46SDaniel Eischen  * 1. Redistributions of source code must retain the above copyright
9d201fe46SDaniel Eischen  *    notice, this list of conditions and the following disclaimer.
10d201fe46SDaniel Eischen  * 2. Redistributions in binary form must reproduce the above copyright
11d201fe46SDaniel Eischen  *    notice, this list of conditions and the following disclaimer in the
12d201fe46SDaniel Eischen  *    documentation and/or other materials provided with the distribution.
13d201fe46SDaniel Eischen  *
14d201fe46SDaniel Eischen  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15d201fe46SDaniel Eischen  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16d201fe46SDaniel Eischen  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17d201fe46SDaniel Eischen  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
18d201fe46SDaniel Eischen  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19d201fe46SDaniel Eischen  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20d201fe46SDaniel Eischen  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21d201fe46SDaniel Eischen  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22d201fe46SDaniel Eischen  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23d201fe46SDaniel Eischen  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24d201fe46SDaniel Eischen  * SUCH DAMAGE.
25d201fe46SDaniel Eischen  *
26d201fe46SDaniel Eischen  * $FreeBSD$
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
40d201fe46SDaniel Eischen #undef		close
41d201fe46SDaniel Eischen #undef		connect
42d201fe46SDaniel Eischen #undef		dup
43d201fe46SDaniel Eischen #undef		dup2
44d201fe46SDaniel Eischen #undef		execve
45d201fe46SDaniel Eischen #undef		fcntl
46d201fe46SDaniel Eischen #undef		flock
47d201fe46SDaniel Eischen #undef		flockfile
48e0554a53SJacques Vidrine #undef		fpathconf
49d201fe46SDaniel Eischen #undef		fstat
50d201fe46SDaniel Eischen #undef		fstatfs
51d201fe46SDaniel Eischen #undef		fsync
52d201fe46SDaniel Eischen #undef		funlockfile
53d201fe46SDaniel Eischen #undef		getdirentries
54d201fe46SDaniel Eischen #undef		getlogin
55d201fe46SDaniel Eischen #undef		getpeername
564cd01193SMark Murray #undef		getprogname
57d201fe46SDaniel Eischen #undef		getsockname
58d201fe46SDaniel Eischen #undef		getsockopt
59d201fe46SDaniel Eischen #undef		ioctl
60d201fe46SDaniel Eischen #undef		kevent
61d201fe46SDaniel Eischen #undef		listen
62d201fe46SDaniel Eischen #undef		nanosleep
63d201fe46SDaniel Eischen #undef		open
6429670497SJilles Tjoelker #undef		openat
65fb22a377SDaniel Eischen #undef		poll
66764fc0fbSDavid Xu #undef		pthread_atfork
67764fc0fbSDavid Xu #undef		pthread_attr_destroy
6823a8b785SDag-Erling Smørgrav #undef		pthread_attr_get_np
69e03efb02SRuslan Ermilov #undef		pthread_attr_getaffinity_np
70764fc0fbSDavid Xu #undef		pthread_attr_getdetachstate
71764fc0fbSDavid Xu #undef		pthread_attr_getguardsize
72764fc0fbSDavid Xu #undef		pthread_attr_getinheritsched
73764fc0fbSDavid Xu #undef		pthread_attr_getschedparam
74764fc0fbSDavid Xu #undef		pthread_attr_getschedpolicy
75764fc0fbSDavid Xu #undef		pthread_attr_getscope
7623a8b785SDag-Erling Smørgrav #undef		pthread_attr_getstack
7723a8b785SDag-Erling Smørgrav #undef		pthread_attr_getstackaddr
7823a8b785SDag-Erling Smørgrav #undef		pthread_attr_getstacksize
79764fc0fbSDavid Xu #undef		pthread_attr_init
80e03efb02SRuslan Ermilov #undef		pthread_attr_setaffinity_np
8123a8b785SDag-Erling Smørgrav #undef		pthread_attr_setcreatesuspend_np
82764fc0fbSDavid Xu #undef		pthread_attr_setdetachstate
83764fc0fbSDavid Xu #undef		pthread_attr_setguardsize
84764fc0fbSDavid Xu #undef		pthread_attr_setinheritsched
85764fc0fbSDavid Xu #undef		pthread_attr_setschedparam
86764fc0fbSDavid Xu #undef		pthread_attr_setschedpolicy
87764fc0fbSDavid Xu #undef		pthread_attr_setscope
8823a8b785SDag-Erling Smørgrav #undef		pthread_attr_setstack
8923a8b785SDag-Erling Smørgrav #undef		pthread_attr_setstackaddr
9023a8b785SDag-Erling Smørgrav #undef		pthread_attr_setstacksize
9123a8b785SDag-Erling Smørgrav #undef		pthread_barrier_destroy
9223a8b785SDag-Erling Smørgrav #undef		pthread_barrier_init
9323a8b785SDag-Erling Smørgrav #undef		pthread_barrier_wait
9423a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_destroy
9523a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_getpshared
9623a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_init
9723a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_setpshared
98764fc0fbSDavid Xu #undef		pthread_cancel
99fb22a377SDaniel Eischen #undef		pthread_cond_broadcast
100fb22a377SDaniel Eischen #undef		pthread_cond_destroy
101fb22a377SDaniel Eischen #undef		pthread_cond_init
102fb22a377SDaniel Eischen #undef		pthread_cond_signal
103fb22a377SDaniel Eischen #undef		pthread_cond_timedwait
104fb22a377SDaniel Eischen #undef		pthread_cond_wait
10523a8b785SDag-Erling Smørgrav #undef		pthread_condattr_destroy
10623a8b785SDag-Erling Smørgrav #undef		pthread_condattr_getclock
10723a8b785SDag-Erling Smørgrav #undef		pthread_condattr_getpshared
10823a8b785SDag-Erling Smørgrav #undef		pthread_condattr_init
10923a8b785SDag-Erling Smørgrav #undef		pthread_condattr_setclock
11023a8b785SDag-Erling Smørgrav #undef		pthread_condattr_setpshared
11123a8b785SDag-Erling Smørgrav #undef		pthread_create
112764fc0fbSDavid Xu #undef		pthread_detach
113764fc0fbSDavid Xu #undef		pthread_equal
114fb22a377SDaniel Eischen #undef		pthread_exit
1157a30bcf0SDavid Xu #undef		pthread_getaffinity_np
11623a8b785SDag-Erling Smørgrav #undef		pthread_getconcurrency
117e03efb02SRuslan Ermilov #undef		pthread_getcpuclockid
11823a8b785SDag-Erling Smørgrav #undef		pthread_getprio
11923a8b785SDag-Erling Smørgrav #undef		pthread_getschedparam
120d201fe46SDaniel Eischen #undef		pthread_getspecific
121678b238cSJung-uk Kim #undef		pthread_getthreadid_np
122764fc0fbSDavid Xu #undef		pthread_join
123d201fe46SDaniel Eischen #undef		pthread_key_create
124d201fe46SDaniel Eischen #undef		pthread_key_delete
12523a8b785SDag-Erling Smørgrav #undef		pthread_kill
126fb22a377SDaniel Eischen #undef		pthread_main_np
12723a8b785SDag-Erling Smørgrav #undef		pthread_multi_np
128d201fe46SDaniel Eischen #undef		pthread_mutex_destroy
12923a8b785SDag-Erling Smørgrav #undef		pthread_mutex_getprioceiling
130d201fe46SDaniel Eischen #undef		pthread_mutex_init
1313cd52a77SDag-Erling Smørgrav #undef		pthread_mutex_isowned_np
132d201fe46SDaniel Eischen #undef		pthread_mutex_lock
13323a8b785SDag-Erling Smørgrav #undef		pthread_mutex_setprioceiling
13423a8b785SDag-Erling Smørgrav #undef		pthread_mutex_timedlock
135d201fe46SDaniel Eischen #undef		pthread_mutex_trylock
136d201fe46SDaniel Eischen #undef		pthread_mutex_unlock
137764fc0fbSDavid Xu #undef		pthread_mutexattr_destroy
13823a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getkind_np
13923a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getprioceiling
14023a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getprotocol
14123a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getpshared
14223a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_gettype
143d201fe46SDaniel Eischen #undef		pthread_mutexattr_init
14423a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setkind_np
14523a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setprioceiling
14623a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setprotocol
14723a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setpshared
148d201fe46SDaniel Eischen #undef		pthread_mutexattr_settype
149d201fe46SDaniel Eischen #undef		pthread_once
15023a8b785SDag-Erling Smørgrav #undef		pthread_resume_all_np
15123a8b785SDag-Erling Smørgrav #undef		pthread_resume_np
152fb22a377SDaniel Eischen #undef		pthread_rwlock_destroy
153fb22a377SDaniel Eischen #undef		pthread_rwlock_init
154fb22a377SDaniel Eischen #undef		pthread_rwlock_rdlock
15523a8b785SDag-Erling Smørgrav #undef		pthread_rwlock_timedrdlock
15623a8b785SDag-Erling Smørgrav #undef		pthread_rwlock_timedwrlock
157fb22a377SDaniel Eischen #undef		pthread_rwlock_tryrdlock
158fb22a377SDaniel Eischen #undef		pthread_rwlock_trywrlock
159fb22a377SDaniel Eischen #undef		pthread_rwlock_unlock
16023a8b785SDag-Erling Smørgrav #undef		pthread_rwlock_wrlock
16123a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_destroy
16223a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_getpshared
16323a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_init
16423a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_setpshared
16529ac6bd2SDaniel Eischen #undef		pthread_self
16623a8b785SDag-Erling Smørgrav #undef		pthread_set_name_np
1677a30bcf0SDavid Xu #undef		pthread_setaffinity_np
168764fc0fbSDavid Xu #undef		pthread_setcancelstate
169764fc0fbSDavid Xu #undef		pthread_setcanceltype
17023a8b785SDag-Erling Smørgrav #undef		pthread_setconcurrency
17123a8b785SDag-Erling Smørgrav #undef		pthread_setprio
17223a8b785SDag-Erling Smørgrav #undef		pthread_setschedparam
173d201fe46SDaniel Eischen #undef		pthread_setspecific
174fb22a377SDaniel Eischen #undef		pthread_sigmask
17523a8b785SDag-Erling Smørgrav #undef		pthread_single_np
17623a8b785SDag-Erling Smørgrav #undef		pthread_spin_destroy
17723a8b785SDag-Erling Smørgrav #undef		pthread_spin_init
17823a8b785SDag-Erling Smørgrav #undef		pthread_spin_lock
17923a8b785SDag-Erling Smørgrav #undef		pthread_spin_trylock
18023a8b785SDag-Erling Smørgrav #undef		pthread_spin_unlock
18123a8b785SDag-Erling Smørgrav #undef		pthread_suspend_all_np
18223a8b785SDag-Erling Smørgrav #undef		pthread_suspend_np
18323a8b785SDag-Erling Smørgrav #undef		pthread_switch_add_np
18423a8b785SDag-Erling Smørgrav #undef		pthread_switch_delete_np
185764fc0fbSDavid Xu #undef		pthread_testcancel
18623a8b785SDag-Erling Smørgrav #undef		pthread_timedjoin_np
18723a8b785SDag-Erling Smørgrav #undef		pthread_yield
188d201fe46SDaniel Eischen #undef		read
189d201fe46SDaniel Eischen #undef		readv
190d201fe46SDaniel Eischen #undef		recvfrom
191d201fe46SDaniel Eischen #undef		recvmsg
192bf420aceSKonstantin Belousov #undef		recvmmsg
193d201fe46SDaniel Eischen #undef		select
194a0da77c9SDag-Erling Smørgrav #undef		sem_close
195a0da77c9SDag-Erling Smørgrav #undef		sem_destroy
196a0da77c9SDag-Erling Smørgrav #undef		sem_getvalue
197a0da77c9SDag-Erling Smørgrav #undef		sem_init
198a0da77c9SDag-Erling Smørgrav #undef		sem_open
199a0da77c9SDag-Erling Smørgrav #undef		sem_post
200a0da77c9SDag-Erling Smørgrav #undef		sem_timedwait
201b215ceaaSEric van Gyzen #undef		sem_clockwait_np
202a0da77c9SDag-Erling Smørgrav #undef		sem_trywait
203a0da77c9SDag-Erling Smørgrav #undef		sem_unlink
204a0da77c9SDag-Erling Smørgrav #undef		sem_wait
205d201fe46SDaniel Eischen #undef		sendmsg
206bf420aceSKonstantin Belousov #undef		sendmmsg
207d201fe46SDaniel Eischen #undef		sendto
208d201fe46SDaniel Eischen #undef		setsockopt
209d201fe46SDaniel Eischen #undef		sigaction
210d201fe46SDaniel Eischen #undef		sigprocmask
211d201fe46SDaniel Eischen #undef		sigsuspend
212d201fe46SDaniel Eischen #undef		socket
213d201fe46SDaniel Eischen #undef		socketpair
21478956f24SDaniel Eischen #undef		usleep
215d201fe46SDaniel Eischen #undef		wait4
216eb3d4e1fSKonstantin Belousov #undef		wait6
217cdfbf192STim J. Robbins #undef		waitpid
218d201fe46SDaniel Eischen #undef		write
219d201fe46SDaniel Eischen #undef		writev
220d201fe46SDaniel Eischen 
221d201fe46SDaniel Eischen #if 0
222d201fe46SDaniel Eischen #undef		creat
223d201fe46SDaniel Eischen #undef		fchflags
224d201fe46SDaniel Eischen #undef		fchmod
225d201fe46SDaniel Eischen #undef		ftrylockfile
226d201fe46SDaniel Eischen #undef		msync
227d201fe46SDaniel Eischen #undef		nfssvc
228d201fe46SDaniel Eischen #undef		pause
229d201fe46SDaniel Eischen #undef		sched_yield
230d201fe46SDaniel Eischen #undef		sendfile
231d201fe46SDaniel Eischen #undef		shutdown
232d201fe46SDaniel Eischen #undef		sigaltstack
233d201fe46SDaniel Eischen #undef		sigpending
234d201fe46SDaniel Eischen #undef		sigreturn
235d201fe46SDaniel Eischen #undef		sigsetmask
236d201fe46SDaniel Eischen #undef		sleep
237d201fe46SDaniel Eischen #undef		system
238d201fe46SDaniel Eischen #undef		tcdrain
239d201fe46SDaniel Eischen #undef		wait
240d201fe46SDaniel Eischen #endif	/* 0 */
241d201fe46SDaniel Eischen 
242d201fe46SDaniel Eischen #ifdef _SIGNAL_H_
243d201fe46SDaniel Eischen int     	_sigaction(int, const struct sigaction *, struct sigaction *);
244d201fe46SDaniel Eischen #endif
245d201fe46SDaniel Eischen 
246d201fe46SDaniel Eischen #ifdef _SYS_EVENT_H_
247d201fe46SDaniel Eischen int		_kevent(int, const struct kevent *, int, struct kevent *,
248d201fe46SDaniel Eischen 		    int, const struct timespec *);
249d201fe46SDaniel Eischen #endif
250d201fe46SDaniel Eischen 
251d201fe46SDaniel Eischen #ifdef _SYS_FCNTL_H_
252d201fe46SDaniel Eischen int		_flock(int, int);
253d201fe46SDaniel Eischen #endif
254d201fe46SDaniel Eischen 
255ac8e56a7SBruce Evans #undef		err
2561643f03dSBruce Evans #undef		warn
25746d93063SJacques Vidrine #undef		nsdispatch
2581643f03dSBruce Evans 
259d201fe46SDaniel Eischen #endif	/* _UN_NAMESPACE_H_ */
260