xref: /dflybsd-src/lib/libc/include/un-namespace.h (revision 14ba680b14d87067ba6b5d6386a22b2e5e8aea7e)
117ea2221SMatthew Dillon /*
217ea2221SMatthew Dillon  * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
317ea2221SMatthew Dillon  * All rights reserved.
417ea2221SMatthew Dillon  *
517ea2221SMatthew Dillon  * Redistribution and use in source and binary forms, with or without
617ea2221SMatthew Dillon  * modification, are permitted provided that the following conditions
717ea2221SMatthew Dillon  * are met:
817ea2221SMatthew Dillon  * 1. Redistributions of source code must retain the above copyright
917ea2221SMatthew Dillon  *    notice, this list of conditions and the following disclaimer.
1017ea2221SMatthew Dillon  * 2. Redistributions in binary form must reproduce the above copyright
1117ea2221SMatthew Dillon  *    notice, this list of conditions and the following disclaimer in the
1217ea2221SMatthew Dillon  *    documentation and/or other materials provided with the distribution.
1317ea2221SMatthew Dillon  *
1417ea2221SMatthew Dillon  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1517ea2221SMatthew Dillon  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1617ea2221SMatthew Dillon  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1717ea2221SMatthew Dillon  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
1817ea2221SMatthew Dillon  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1917ea2221SMatthew Dillon  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2017ea2221SMatthew Dillon  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2117ea2221SMatthew Dillon  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2217ea2221SMatthew Dillon  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2317ea2221SMatthew Dillon  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2417ea2221SMatthew Dillon  * SUCH DAMAGE.
2517ea2221SMatthew Dillon  *
2617ea2221SMatthew Dillon  * $FreeBSD: /repoman/r/ncvs/src/lib/libc/include/un-namespace.h,v 1.1 2001/01/24 13:00:09 deischen Exp $
27bc2f376eSDavid Xu  * $DragonFly: src/lib/libc/include/un-namespace.h,v 1.2 2006/04/06 13:02:12 davidxu Exp $
2817ea2221SMatthew Dillon  */
2917ea2221SMatthew Dillon 
3017ea2221SMatthew Dillon #ifndef _UN_NAMESPACE_H_
3117ea2221SMatthew Dillon #define _UN_NAMESPACE_H_
3217ea2221SMatthew Dillon 
3317ea2221SMatthew Dillon #undef		accept
3417ea2221SMatthew Dillon #undef		bind
3517ea2221SMatthew Dillon #undef		close
3617ea2221SMatthew Dillon #undef		connect
3717ea2221SMatthew Dillon #undef		dup
3817ea2221SMatthew Dillon #undef		dup2
3917ea2221SMatthew Dillon #undef		execve
4017ea2221SMatthew Dillon #undef		fcntl
4117ea2221SMatthew Dillon #undef		flock
4217ea2221SMatthew Dillon #undef		flockfile
4317ea2221SMatthew Dillon #undef		fstat
4417ea2221SMatthew Dillon #undef		fstatfs
4517ea2221SMatthew Dillon #undef		fsync
4617ea2221SMatthew Dillon #undef		funlockfile
4717ea2221SMatthew Dillon #undef		getdirentries
4817ea2221SMatthew Dillon #undef		getlogin
4917ea2221SMatthew Dillon #undef		getpeername
50*14ba680bSSascha Wildner #undef		getprogname
5117ea2221SMatthew Dillon #undef		getsockname
5217ea2221SMatthew Dillon #undef		getsockopt
5317ea2221SMatthew Dillon #undef		ioctl
5417ea2221SMatthew Dillon #undef		kevent
5517ea2221SMatthew Dillon #undef		listen
5617ea2221SMatthew Dillon #undef		nanosleep
5717ea2221SMatthew Dillon #undef		open
58ce0e08e2SPeter Avalos #undef		poll
59bc2f376eSDavid Xu #undef		pthread_atfork
60bc2f376eSDavid Xu #undef		pthread_attr_destroy
61bc2f376eSDavid Xu #undef		pthread_attr_get_np
62bc2f376eSDavid Xu #undef		pthread_attr_getdetachstate
63bc2f376eSDavid Xu #undef		pthread_attr_getguardsize
64bc2f376eSDavid Xu #undef		pthread_attr_getinheritsched
65bc2f376eSDavid Xu #undef		pthread_attr_getschedparam
66bc2f376eSDavid Xu #undef		pthread_attr_getschedpolicy
67bc2f376eSDavid Xu #undef		pthread_attr_getscope
68bc2f376eSDavid Xu #undef		pthread_attr_getstack
69bc2f376eSDavid Xu #undef		pthread_attr_getstackaddr
70bc2f376eSDavid Xu #undef		pthread_attr_getstacksize
71bc2f376eSDavid Xu #undef		pthread_attr_init
72bc2f376eSDavid Xu #undef		pthread_attr_setcreatesuspend_np
73bc2f376eSDavid Xu #undef		pthread_attr_setdetachstate
74bc2f376eSDavid Xu #undef		pthread_attr_setguardsize
75bc2f376eSDavid Xu #undef		pthread_attr_setinheritsched
76bc2f376eSDavid Xu #undef		pthread_attr_setschedparam
77bc2f376eSDavid Xu #undef		pthread_attr_setschedpolicy
78bc2f376eSDavid Xu #undef		pthread_attr_setscope
79bc2f376eSDavid Xu #undef		pthread_attr_setstack
80bc2f376eSDavid Xu #undef		pthread_attr_setstackaddr
81bc2f376eSDavid Xu #undef		pthread_attr_setstacksize
82bc2f376eSDavid Xu #undef		pthread_barrier_destroy
83bc2f376eSDavid Xu #undef		pthread_barrier_init
84bc2f376eSDavid Xu #undef		pthread_barrier_wait
85bc2f376eSDavid Xu #undef		pthread_barrierattr_destroy
86bc2f376eSDavid Xu #undef		pthread_barrierattr_getpshared
87bc2f376eSDavid Xu #undef		pthread_barrierattr_init
88bc2f376eSDavid Xu #undef		pthread_barrierattr_setpshared
89bc2f376eSDavid Xu #undef		pthread_cancel
90bc2f376eSDavid Xu #undef		pthread_cleanup_pop
91bc2f376eSDavid Xu #undef		pthread_cleanup_push
92bc2f376eSDavid Xu #undef		pthread_cond_broadcast
93bc2f376eSDavid Xu #undef		pthread_cond_destroy
94bc2f376eSDavid Xu #undef		pthread_cond_init
95bc2f376eSDavid Xu #undef		pthread_cond_signal
96bc2f376eSDavid Xu #undef		pthread_cond_timedwait
97bc2f376eSDavid Xu #undef		pthread_cond_wait
98bc2f376eSDavid Xu #undef		pthread_condattr_destroy
99bc2f376eSDavid Xu #undef		pthread_condattr_getclock
100bc2f376eSDavid Xu #undef		pthread_condattr_getpshared
101bc2f376eSDavid Xu #undef		pthread_condattr_init
102bc2f376eSDavid Xu #undef		pthread_condattr_setclock
103bc2f376eSDavid Xu #undef		pthread_condattr_setpshared
104bc2f376eSDavid Xu #undef		pthread_create
105bc2f376eSDavid Xu #undef		pthread_detach
106bc2f376eSDavid Xu #undef		pthread_equal
107bc2f376eSDavid Xu #undef		pthread_exit
108bc2f376eSDavid Xu #undef		pthread_getconcurrency
109bc2f376eSDavid Xu #undef		pthread_getprio
110bc2f376eSDavid Xu #undef		pthread_getschedparam
11117ea2221SMatthew Dillon #undef		pthread_getspecific
112bc2f376eSDavid Xu #undef		pthread_join
11317ea2221SMatthew Dillon #undef		pthread_key_create
11417ea2221SMatthew Dillon #undef		pthread_key_delete
115bc2f376eSDavid Xu #undef		pthread_kill
116bc2f376eSDavid Xu #undef		pthread_main_np
117bc2f376eSDavid Xu #undef		pthread_multi_np
11817ea2221SMatthew Dillon #undef		pthread_mutex_destroy
119bc2f376eSDavid Xu #undef		pthread_mutex_getprioceiling
12017ea2221SMatthew Dillon #undef		pthread_mutex_init
12117ea2221SMatthew Dillon #undef		pthread_mutex_lock
122bc2f376eSDavid Xu #undef		pthread_mutex_setprioceiling
123bc2f376eSDavid Xu #undef		pthread_mutex_timedlock
12417ea2221SMatthew Dillon #undef		pthread_mutex_trylock
12517ea2221SMatthew Dillon #undef		pthread_mutex_unlock
12617ea2221SMatthew Dillon #undef		pthread_mutexattr_destroy
127bc2f376eSDavid Xu #undef		pthread_mutexattr_getkind_np
128bc2f376eSDavid Xu #undef		pthread_mutexattr_getprioceiling
129bc2f376eSDavid Xu #undef		pthread_mutexattr_getprotocol
130bc2f376eSDavid Xu #undef		pthread_mutexattr_getpshared
131bc2f376eSDavid Xu #undef		pthread_mutexattr_gettype
132bc2f376eSDavid Xu #undef		pthread_mutexattr_init
133bc2f376eSDavid Xu #undef		pthread_mutexattr_setkind_np
134bc2f376eSDavid Xu #undef		pthread_mutexattr_setprioceiling
135bc2f376eSDavid Xu #undef		pthread_mutexattr_setprotocol
136bc2f376eSDavid Xu #undef		pthread_mutexattr_setpshared
13717ea2221SMatthew Dillon #undef		pthread_mutexattr_settype
13817ea2221SMatthew Dillon #undef		pthread_once
139bc2f376eSDavid Xu #undef		pthread_resume_all_np
140bc2f376eSDavid Xu #undef		pthread_resume_np
141bc2f376eSDavid Xu #undef		pthread_rwlock_destroy
142bc2f376eSDavid Xu #undef		pthread_rwlock_init
143bc2f376eSDavid Xu #undef		pthread_rwlock_rdlock
144bc2f376eSDavid Xu #undef		pthread_rwlock_timedrdlock
145bc2f376eSDavid Xu #undef		pthread_rwlock_timedwrlock
146bc2f376eSDavid Xu #undef		pthread_rwlock_tryrdlock
147bc2f376eSDavid Xu #undef		pthread_rwlock_trywrlock
148bc2f376eSDavid Xu #undef		pthread_rwlock_unlock
149bc2f376eSDavid Xu #undef		pthread_rwlock_wrlock
150bc2f376eSDavid Xu #undef		pthread_rwlockattr_destroy
151bc2f376eSDavid Xu #undef		pthread_rwlockattr_getpshared
152bc2f376eSDavid Xu #undef		pthread_rwlockattr_init
153bc2f376eSDavid Xu #undef		pthread_rwlockattr_setpshared
154bc2f376eSDavid Xu #undef		pthread_self
155bc2f376eSDavid Xu #undef		pthread_set_name_np
156bc2f376eSDavid Xu #undef		pthread_setcancelstate
157bc2f376eSDavid Xu #undef		pthread_setcanceltype
158bc2f376eSDavid Xu #undef		pthread_setconcurrency
159bc2f376eSDavid Xu #undef		pthread_setprio
160bc2f376eSDavid Xu #undef		pthread_setschedparam
16117ea2221SMatthew Dillon #undef		pthread_setspecific
162bc2f376eSDavid Xu #undef		pthread_sigmask
163bc2f376eSDavid Xu #undef		pthread_single_np
164bc2f376eSDavid Xu #undef		pthread_spin_destroy
165bc2f376eSDavid Xu #undef		pthread_spin_init
166bc2f376eSDavid Xu #undef		pthread_spin_lock
167bc2f376eSDavid Xu #undef		pthread_spin_trylock
168bc2f376eSDavid Xu #undef		pthread_spin_unlock
169bc2f376eSDavid Xu #undef		pthread_suspend_all_np
170bc2f376eSDavid Xu #undef		pthread_suspend_np
171bc2f376eSDavid Xu #undef		pthread_switch_add_np
172bc2f376eSDavid Xu #undef		pthread_switch_delete_np
173bc2f376eSDavid Xu #undef		pthread_testcancel
174bc2f376eSDavid Xu #undef		pthread_timedjoin_np
175bc2f376eSDavid Xu #undef		pthread_yield
17617ea2221SMatthew Dillon #undef		read
17717ea2221SMatthew Dillon #undef		readv
17817ea2221SMatthew Dillon #undef		recvfrom
17917ea2221SMatthew Dillon #undef		recvmsg
18017ea2221SMatthew Dillon #undef		select
181bc2f376eSDavid Xu #undef		sem_close
182bc2f376eSDavid Xu #undef		sem_destroy
183bc2f376eSDavid Xu #undef		sem_getvalue
184bc2f376eSDavid Xu #undef		sem_init
185bc2f376eSDavid Xu #undef		sem_open
186bc2f376eSDavid Xu #undef		sem_post
187bc2f376eSDavid Xu #undef		sem_timedwait
188bc2f376eSDavid Xu #undef		sem_trywait
189bc2f376eSDavid Xu #undef		sem_unlink
190bc2f376eSDavid Xu #undef		sem_wait
19117ea2221SMatthew Dillon #undef		sendmsg
19217ea2221SMatthew Dillon #undef		sendto
19317ea2221SMatthew Dillon #undef		setsockopt
19417ea2221SMatthew Dillon #undef		sigaction
19517ea2221SMatthew Dillon #undef		sigprocmask
19617ea2221SMatthew Dillon #undef		sigsuspend
19717ea2221SMatthew Dillon #undef		socket
19817ea2221SMatthew Dillon #undef		socketpair
19917ea2221SMatthew Dillon #undef		wait4
20017ea2221SMatthew Dillon #undef		write
20117ea2221SMatthew Dillon #undef		writev
20217ea2221SMatthew Dillon 
20317ea2221SMatthew Dillon #if 0
20417ea2221SMatthew Dillon #undef		creat
20517ea2221SMatthew Dillon #undef		fchflags
20617ea2221SMatthew Dillon #undef		fchmod
20717ea2221SMatthew Dillon #undef		fpathconf
20817ea2221SMatthew Dillon #undef		ftrylockfile
20917ea2221SMatthew Dillon #undef		msync
21017ea2221SMatthew Dillon #undef		nfssvc
21117ea2221SMatthew Dillon #undef		pause
21217ea2221SMatthew Dillon #undef		sched_yield
21317ea2221SMatthew Dillon #undef		sendfile
21417ea2221SMatthew Dillon #undef		shutdown
21517ea2221SMatthew Dillon #undef		sigaltstack
21617ea2221SMatthew Dillon #undef		signanosleep
21717ea2221SMatthew Dillon #undef		sigpending
21817ea2221SMatthew Dillon #undef		sigreturn
21917ea2221SMatthew Dillon #undef		sigsetmask
22017ea2221SMatthew Dillon #undef		sleep
22117ea2221SMatthew Dillon #undef		system
22217ea2221SMatthew Dillon #undef		tcdrain
22317ea2221SMatthew Dillon #undef		wait
22417ea2221SMatthew Dillon #undef		waitpid
22517ea2221SMatthew Dillon #endif	/* 0 */
22617ea2221SMatthew Dillon 
22717ea2221SMatthew Dillon #ifdef _SIGNAL_H_
22817ea2221SMatthew Dillon int     	_sigaction(int, const struct sigaction *, struct sigaction *);
22917ea2221SMatthew Dillon #endif
23017ea2221SMatthew Dillon 
23117ea2221SMatthew Dillon #ifdef _SYS_EVENT_H_
23217ea2221SMatthew Dillon int		_kevent(int, const struct kevent *, int, struct kevent *,
23317ea2221SMatthew Dillon 		    int, const struct timespec *);
23417ea2221SMatthew Dillon #endif
23517ea2221SMatthew Dillon 
23617ea2221SMatthew Dillon #ifdef _SYS_FCNTL_H_
23717ea2221SMatthew Dillon int		_flock(int, int);
23817ea2221SMatthew Dillon #endif
23917ea2221SMatthew Dillon 
240ed5d5720SPeter Avalos #undef		nsdispatch
241ed5d5720SPeter Avalos 
24217ea2221SMatthew Dillon #endif	/* _UN_NAMESPACE_H_ */
24317ea2221SMatthew Dillon 
244