xref: /freebsd/lib/libc/include/un-namespace.h (revision 3cd52a77)
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
64fb22a377SDaniel Eischen #undef		poll
65764fc0fbSDavid Xu #undef		pthread_atfork
66764fc0fbSDavid Xu #undef		pthread_attr_destroy
6723a8b785SDag-Erling Smørgrav #undef		pthread_attr_get_np
68764fc0fbSDavid Xu #undef		pthread_attr_getdetachstate
69764fc0fbSDavid Xu #undef		pthread_attr_getguardsize
70764fc0fbSDavid Xu #undef		pthread_attr_getinheritsched
71764fc0fbSDavid Xu #undef		pthread_attr_getschedparam
72764fc0fbSDavid Xu #undef		pthread_attr_getschedpolicy
73764fc0fbSDavid Xu #undef		pthread_attr_getscope
7423a8b785SDag-Erling Smørgrav #undef		pthread_attr_getstack
7523a8b785SDag-Erling Smørgrav #undef		pthread_attr_getstackaddr
7623a8b785SDag-Erling Smørgrav #undef		pthread_attr_getstacksize
77764fc0fbSDavid Xu #undef		pthread_attr_init
7823a8b785SDag-Erling Smørgrav #undef		pthread_attr_setcreatesuspend_np
79764fc0fbSDavid Xu #undef		pthread_attr_setdetachstate
80764fc0fbSDavid Xu #undef		pthread_attr_setguardsize
81764fc0fbSDavid Xu #undef		pthread_attr_setinheritsched
82764fc0fbSDavid Xu #undef		pthread_attr_setschedparam
83764fc0fbSDavid Xu #undef		pthread_attr_setschedpolicy
84764fc0fbSDavid Xu #undef		pthread_attr_setscope
8523a8b785SDag-Erling Smørgrav #undef		pthread_attr_setstack
8623a8b785SDag-Erling Smørgrav #undef		pthread_attr_setstackaddr
8723a8b785SDag-Erling Smørgrav #undef		pthread_attr_setstacksize
8823a8b785SDag-Erling Smørgrav #undef		pthread_barrier_destroy
8923a8b785SDag-Erling Smørgrav #undef		pthread_barrier_init
9023a8b785SDag-Erling Smørgrav #undef		pthread_barrier_wait
9123a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_destroy
9223a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_getpshared
9323a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_init
9423a8b785SDag-Erling Smørgrav #undef		pthread_barrierattr_setpshared
95764fc0fbSDavid Xu #undef		pthread_cancel
96764fc0fbSDavid Xu #undef		pthread_cleanup_pop
97764fc0fbSDavid Xu #undef		pthread_cleanup_push
98fb22a377SDaniel Eischen #undef		pthread_cond_broadcast
99fb22a377SDaniel Eischen #undef		pthread_cond_destroy
100fb22a377SDaniel Eischen #undef		pthread_cond_init
101fb22a377SDaniel Eischen #undef		pthread_cond_signal
102fb22a377SDaniel Eischen #undef		pthread_cond_timedwait
103fb22a377SDaniel Eischen #undef		pthread_cond_wait
10423a8b785SDag-Erling Smørgrav #undef		pthread_condattr_destroy
10523a8b785SDag-Erling Smørgrav #undef		pthread_condattr_getclock
10623a8b785SDag-Erling Smørgrav #undef		pthread_condattr_getpshared
10723a8b785SDag-Erling Smørgrav #undef		pthread_condattr_init
10823a8b785SDag-Erling Smørgrav #undef		pthread_condattr_setclock
10923a8b785SDag-Erling Smørgrav #undef		pthread_condattr_setpshared
11023a8b785SDag-Erling Smørgrav #undef		pthread_create
111764fc0fbSDavid Xu #undef		pthread_detach
112764fc0fbSDavid Xu #undef		pthread_equal
113fb22a377SDaniel Eischen #undef		pthread_exit
11423a8b785SDag-Erling Smørgrav #undef		pthread_getconcurrency
11523a8b785SDag-Erling Smørgrav #undef		pthread_getprio
11623a8b785SDag-Erling Smørgrav #undef		pthread_getschedparam
117d201fe46SDaniel Eischen #undef		pthread_getspecific
118764fc0fbSDavid Xu #undef		pthread_join
119d201fe46SDaniel Eischen #undef		pthread_key_create
120d201fe46SDaniel Eischen #undef		pthread_key_delete
12123a8b785SDag-Erling Smørgrav #undef		pthread_kill
122fb22a377SDaniel Eischen #undef		pthread_main_np
12323a8b785SDag-Erling Smørgrav #undef		pthread_multi_np
124d201fe46SDaniel Eischen #undef		pthread_mutex_destroy
12523a8b785SDag-Erling Smørgrav #undef		pthread_mutex_getprioceiling
126d201fe46SDaniel Eischen #undef		pthread_mutex_init
1273cd52a77SDag-Erling Smørgrav #undef		pthread_mutex_isowned_np
128d201fe46SDaniel Eischen #undef		pthread_mutex_lock
12923a8b785SDag-Erling Smørgrav #undef		pthread_mutex_setprioceiling
13023a8b785SDag-Erling Smørgrav #undef		pthread_mutex_timedlock
131d201fe46SDaniel Eischen #undef		pthread_mutex_trylock
132d201fe46SDaniel Eischen #undef		pthread_mutex_unlock
133764fc0fbSDavid Xu #undef		pthread_mutexattr_destroy
13423a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getkind_np
13523a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getprioceiling
13623a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getprotocol
13723a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_getpshared
13823a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_gettype
139d201fe46SDaniel Eischen #undef		pthread_mutexattr_init
14023a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setkind_np
14123a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setprioceiling
14223a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setprotocol
14323a8b785SDag-Erling Smørgrav #undef		pthread_mutexattr_setpshared
144d201fe46SDaniel Eischen #undef		pthread_mutexattr_settype
145d201fe46SDaniel Eischen #undef		pthread_once
14623a8b785SDag-Erling Smørgrav #undef		pthread_resume_all_np
14723a8b785SDag-Erling Smørgrav #undef		pthread_resume_np
148fb22a377SDaniel Eischen #undef		pthread_rwlock_destroy
149fb22a377SDaniel Eischen #undef		pthread_rwlock_init
150fb22a377SDaniel Eischen #undef		pthread_rwlock_rdlock
15123a8b785SDag-Erling Smørgrav #undef		pthread_rwlock_timedrdlock
15223a8b785SDag-Erling Smørgrav #undef		pthread_rwlock_timedwrlock
153fb22a377SDaniel Eischen #undef		pthread_rwlock_tryrdlock
154fb22a377SDaniel Eischen #undef		pthread_rwlock_trywrlock
155fb22a377SDaniel Eischen #undef		pthread_rwlock_unlock
15623a8b785SDag-Erling Smørgrav #undef		pthread_rwlock_wrlock
15723a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_destroy
15823a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_getpshared
15923a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_init
16023a8b785SDag-Erling Smørgrav #undef		pthread_rwlockattr_setpshared
16129ac6bd2SDaniel Eischen #undef		pthread_self
16223a8b785SDag-Erling Smørgrav #undef		pthread_set_name_np
163764fc0fbSDavid Xu #undef		pthread_setcancelstate
164764fc0fbSDavid Xu #undef		pthread_setcanceltype
16523a8b785SDag-Erling Smørgrav #undef		pthread_setconcurrency
16623a8b785SDag-Erling Smørgrav #undef		pthread_setprio
16723a8b785SDag-Erling Smørgrav #undef		pthread_setschedparam
168d201fe46SDaniel Eischen #undef		pthread_setspecific
169fb22a377SDaniel Eischen #undef		pthread_sigmask
17023a8b785SDag-Erling Smørgrav #undef		pthread_single_np
17123a8b785SDag-Erling Smørgrav #undef		pthread_spin_destroy
17223a8b785SDag-Erling Smørgrav #undef		pthread_spin_init
17323a8b785SDag-Erling Smørgrav #undef		pthread_spin_lock
17423a8b785SDag-Erling Smørgrav #undef		pthread_spin_trylock
17523a8b785SDag-Erling Smørgrav #undef		pthread_spin_unlock
17623a8b785SDag-Erling Smørgrav #undef		pthread_suspend_all_np
17723a8b785SDag-Erling Smørgrav #undef		pthread_suspend_np
17823a8b785SDag-Erling Smørgrav #undef		pthread_switch_add_np
17923a8b785SDag-Erling Smørgrav #undef		pthread_switch_delete_np
180764fc0fbSDavid Xu #undef		pthread_testcancel
18123a8b785SDag-Erling Smørgrav #undef		pthread_timedjoin_np
18223a8b785SDag-Erling Smørgrav #undef		pthread_yield
183d201fe46SDaniel Eischen #undef		read
184d201fe46SDaniel Eischen #undef		readv
185d201fe46SDaniel Eischen #undef		recvfrom
186d201fe46SDaniel Eischen #undef		recvmsg
187d201fe46SDaniel Eischen #undef		select
188a0da77c9SDag-Erling Smørgrav #undef		sem_close
189a0da77c9SDag-Erling Smørgrav #undef		sem_destroy
190a0da77c9SDag-Erling Smørgrav #undef		sem_getvalue
191a0da77c9SDag-Erling Smørgrav #undef		sem_init
192a0da77c9SDag-Erling Smørgrav #undef		sem_open
193a0da77c9SDag-Erling Smørgrav #undef		sem_post
194a0da77c9SDag-Erling Smørgrav #undef		sem_timedwait
195a0da77c9SDag-Erling Smørgrav #undef		sem_trywait
196a0da77c9SDag-Erling Smørgrav #undef		sem_unlink
197a0da77c9SDag-Erling Smørgrav #undef		sem_wait
198d201fe46SDaniel Eischen #undef		sendmsg
199d201fe46SDaniel Eischen #undef		sendto
200d201fe46SDaniel Eischen #undef		setsockopt
201d201fe46SDaniel Eischen #undef		sigaction
202d201fe46SDaniel Eischen #undef		sigprocmask
203d201fe46SDaniel Eischen #undef		sigsuspend
204d201fe46SDaniel Eischen #undef		socket
205d201fe46SDaniel Eischen #undef		socketpair
20678956f24SDaniel Eischen #undef		usleep
207d201fe46SDaniel Eischen #undef		wait4
208cdfbf192STim J. Robbins #undef		waitpid
209d201fe46SDaniel Eischen #undef		write
210d201fe46SDaniel Eischen #undef		writev
211d201fe46SDaniel Eischen 
212d201fe46SDaniel Eischen #if 0
213d201fe46SDaniel Eischen #undef		creat
214d201fe46SDaniel Eischen #undef		fchflags
215d201fe46SDaniel Eischen #undef		fchmod
216d201fe46SDaniel Eischen #undef		ftrylockfile
217d201fe46SDaniel Eischen #undef		msync
218d201fe46SDaniel Eischen #undef		nfssvc
219d201fe46SDaniel Eischen #undef		pause
220d201fe46SDaniel Eischen #undef		sched_yield
221d201fe46SDaniel Eischen #undef		sendfile
222d201fe46SDaniel Eischen #undef		shutdown
223d201fe46SDaniel Eischen #undef		sigaltstack
224d201fe46SDaniel Eischen #undef		sigpending
225d201fe46SDaniel Eischen #undef		sigreturn
226d201fe46SDaniel Eischen #undef		sigsetmask
227d201fe46SDaniel Eischen #undef		sleep
228d201fe46SDaniel Eischen #undef		system
229d201fe46SDaniel Eischen #undef		tcdrain
230d201fe46SDaniel Eischen #undef		wait
231d201fe46SDaniel Eischen #endif	/* 0 */
232d201fe46SDaniel Eischen 
233d201fe46SDaniel Eischen #ifdef _SIGNAL_H_
234d201fe46SDaniel Eischen int     	_sigaction(int, const struct sigaction *, struct sigaction *);
235d201fe46SDaniel Eischen #endif
236d201fe46SDaniel Eischen 
237d201fe46SDaniel Eischen #ifdef _SYS_EVENT_H_
238d201fe46SDaniel Eischen int		_kevent(int, const struct kevent *, int, struct kevent *,
239d201fe46SDaniel Eischen 		    int, const struct timespec *);
240d201fe46SDaniel Eischen #endif
241d201fe46SDaniel Eischen 
242d201fe46SDaniel Eischen #ifdef _SYS_FCNTL_H_
243d201fe46SDaniel Eischen int		_flock(int, int);
244d201fe46SDaniel Eischen #endif
245d201fe46SDaniel Eischen 
246ac8e56a7SBruce Evans #undef		err
2471643f03dSBruce Evans #undef		warn
24846d93063SJacques Vidrine #undef		nsdispatch
2491643f03dSBruce Evans 
250d201fe46SDaniel Eischen #endif	/* _UN_NAMESPACE_H_ */
251