xref: /dflybsd-src/lib/libc/include/un-namespace.h (revision 139374e6ee6df4283e7064a8e6273ec3c3edc49e)
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 $
2717ea2221SMatthew Dillon  */
2817ea2221SMatthew Dillon 
2917ea2221SMatthew Dillon #ifndef _UN_NAMESPACE_H_
3017ea2221SMatthew Dillon #define _UN_NAMESPACE_H_
3117ea2221SMatthew Dillon 
3217ea2221SMatthew Dillon #undef		accept
3317ea2221SMatthew Dillon #undef		bind
3417ea2221SMatthew Dillon #undef		close
3517ea2221SMatthew Dillon #undef		connect
3617ea2221SMatthew Dillon #undef		dup
3717ea2221SMatthew Dillon #undef		dup2
3817ea2221SMatthew Dillon #undef		execve
3917ea2221SMatthew Dillon #undef		fcntl
4017ea2221SMatthew Dillon #undef		flock
4117ea2221SMatthew Dillon #undef		flockfile
4217ea2221SMatthew Dillon #undef		fstat
4317ea2221SMatthew Dillon #undef		fstatfs
4417ea2221SMatthew Dillon #undef		fsync
4517ea2221SMatthew Dillon #undef		funlockfile
4617ea2221SMatthew Dillon #undef		getdirentries
4717ea2221SMatthew Dillon #undef		getlogin
4817ea2221SMatthew Dillon #undef		getpeername
4914ba680bSSascha Wildner #undef		getprogname
5017ea2221SMatthew Dillon #undef		getsockname
5117ea2221SMatthew Dillon #undef		getsockopt
5217ea2221SMatthew Dillon #undef		ioctl
5317ea2221SMatthew Dillon #undef		kevent
5417ea2221SMatthew Dillon #undef		listen
5517ea2221SMatthew Dillon #undef		nanosleep
5617ea2221SMatthew Dillon #undef		open
5711699d20SMatthew Dillon #undef		openat
5811699d20SMatthew Dillon #undef		unlink
5911699d20SMatthew Dillon #undef		unlinkat
60ce0e08e2SPeter Avalos #undef		poll
616d2444c4SImre Vadasz #undef		ppoll
62bc2f376eSDavid Xu #undef		pthread_atfork
63bc2f376eSDavid Xu #undef		pthread_attr_destroy
64bc2f376eSDavid Xu #undef		pthread_attr_get_np
653ae362f2SSepherosa Ziehau #undef		pthread_attr_getaffinity_np
66bc2f376eSDavid Xu #undef		pthread_attr_getdetachstate
67bc2f376eSDavid Xu #undef		pthread_attr_getguardsize
68bc2f376eSDavid Xu #undef		pthread_attr_getinheritsched
69bc2f376eSDavid Xu #undef		pthread_attr_getschedparam
70bc2f376eSDavid Xu #undef		pthread_attr_getschedpolicy
71bc2f376eSDavid Xu #undef		pthread_attr_getscope
72bc2f376eSDavid Xu #undef		pthread_attr_getstack
73bc2f376eSDavid Xu #undef		pthread_attr_getstackaddr
74bc2f376eSDavid Xu #undef		pthread_attr_getstacksize
75bc2f376eSDavid Xu #undef		pthread_attr_init
763ae362f2SSepherosa Ziehau #undef		pthread_attr_setaffinity_np
77bc2f376eSDavid Xu #undef		pthread_attr_setcreatesuspend_np
78bc2f376eSDavid Xu #undef		pthread_attr_setdetachstate
79bc2f376eSDavid Xu #undef		pthread_attr_setguardsize
80bc2f376eSDavid Xu #undef		pthread_attr_setinheritsched
81bc2f376eSDavid Xu #undef		pthread_attr_setschedparam
82bc2f376eSDavid Xu #undef		pthread_attr_setschedpolicy
83bc2f376eSDavid Xu #undef		pthread_attr_setscope
84bc2f376eSDavid Xu #undef		pthread_attr_setstack
85bc2f376eSDavid Xu #undef		pthread_attr_setstackaddr
86bc2f376eSDavid Xu #undef		pthread_attr_setstacksize
87bc2f376eSDavid Xu #undef		pthread_barrier_destroy
88bc2f376eSDavid Xu #undef		pthread_barrier_init
89bc2f376eSDavid Xu #undef		pthread_barrier_wait
90bc2f376eSDavid Xu #undef		pthread_barrierattr_destroy
91bc2f376eSDavid Xu #undef		pthread_barrierattr_getpshared
92bc2f376eSDavid Xu #undef		pthread_barrierattr_init
93bc2f376eSDavid Xu #undef		pthread_barrierattr_setpshared
94bc2f376eSDavid Xu #undef		pthread_cancel
95bc2f376eSDavid Xu #undef		pthread_cleanup_pop
96bc2f376eSDavid Xu #undef		pthread_cleanup_push
97bc2f376eSDavid Xu #undef		pthread_cond_broadcast
98bc2f376eSDavid Xu #undef		pthread_cond_destroy
99bc2f376eSDavid Xu #undef		pthread_cond_init
100bc2f376eSDavid Xu #undef		pthread_cond_signal
101bc2f376eSDavid Xu #undef		pthread_cond_timedwait
102bc2f376eSDavid Xu #undef		pthread_cond_wait
103bc2f376eSDavid Xu #undef		pthread_condattr_destroy
104bc2f376eSDavid Xu #undef		pthread_condattr_getclock
105bc2f376eSDavid Xu #undef		pthread_condattr_getpshared
106bc2f376eSDavid Xu #undef		pthread_condattr_init
107bc2f376eSDavid Xu #undef		pthread_condattr_setclock
108bc2f376eSDavid Xu #undef		pthread_condattr_setpshared
109bc2f376eSDavid Xu #undef		pthread_create
110bc2f376eSDavid Xu #undef		pthread_detach
111bc2f376eSDavid Xu #undef		pthread_equal
112bc2f376eSDavid Xu #undef		pthread_exit
113b2920380SSepherosa Ziehau #undef		pthread_getaffinity_np
11455f11bd6Szrj #undef		pthread_getattr_np
115bc2f376eSDavid Xu #undef		pthread_getconcurrency
116725edadfSSascha Wildner #undef		pthread_getcpuclockid
117bc2f376eSDavid Xu #undef		pthread_getprio
118bc2f376eSDavid Xu #undef		pthread_getschedparam
11917ea2221SMatthew Dillon #undef		pthread_getspecific
120c0f25c26SImre Vadász #undef		pthread_getthreadid_np
121*139374e6Szrj #undef		pthread_is_threaded_np
122bc2f376eSDavid Xu #undef		pthread_join
12317ea2221SMatthew Dillon #undef		pthread_key_create
12417ea2221SMatthew Dillon #undef		pthread_key_delete
125bc2f376eSDavid Xu #undef		pthread_kill
126bc2f376eSDavid Xu #undef		pthread_main_np
127bc2f376eSDavid Xu #undef		pthread_multi_np
12817ea2221SMatthew Dillon #undef		pthread_mutex_destroy
129bc2f376eSDavid Xu #undef		pthread_mutex_getprioceiling
13017ea2221SMatthew Dillon #undef		pthread_mutex_init
13117ea2221SMatthew Dillon #undef		pthread_mutex_lock
132bc2f376eSDavid Xu #undef		pthread_mutex_setprioceiling
133bc2f376eSDavid Xu #undef		pthread_mutex_timedlock
13417ea2221SMatthew Dillon #undef		pthread_mutex_trylock
13517ea2221SMatthew Dillon #undef		pthread_mutex_unlock
13617ea2221SMatthew Dillon #undef		pthread_mutexattr_destroy
137bc2f376eSDavid Xu #undef		pthread_mutexattr_getkind_np
138bc2f376eSDavid Xu #undef		pthread_mutexattr_getprioceiling
139bc2f376eSDavid Xu #undef		pthread_mutexattr_getprotocol
140bc2f376eSDavid Xu #undef		pthread_mutexattr_getpshared
141bc2f376eSDavid Xu #undef		pthread_mutexattr_gettype
142bc2f376eSDavid Xu #undef		pthread_mutexattr_init
143bc2f376eSDavid Xu #undef		pthread_mutexattr_setkind_np
144bc2f376eSDavid Xu #undef		pthread_mutexattr_setprioceiling
145bc2f376eSDavid Xu #undef		pthread_mutexattr_setprotocol
146bc2f376eSDavid Xu #undef		pthread_mutexattr_setpshared
14717ea2221SMatthew Dillon #undef		pthread_mutexattr_settype
14817ea2221SMatthew Dillon #undef		pthread_once
149bc2f376eSDavid Xu #undef		pthread_resume_all_np
150bc2f376eSDavid Xu #undef		pthread_resume_np
151bc2f376eSDavid Xu #undef		pthread_rwlock_destroy
152bc2f376eSDavid Xu #undef		pthread_rwlock_init
153bc2f376eSDavid Xu #undef		pthread_rwlock_rdlock
154bc2f376eSDavid Xu #undef		pthread_rwlock_timedrdlock
155bc2f376eSDavid Xu #undef		pthread_rwlock_timedwrlock
156bc2f376eSDavid Xu #undef		pthread_rwlock_tryrdlock
157bc2f376eSDavid Xu #undef		pthread_rwlock_trywrlock
158bc2f376eSDavid Xu #undef		pthread_rwlock_unlock
159bc2f376eSDavid Xu #undef		pthread_rwlock_wrlock
160bc2f376eSDavid Xu #undef		pthread_rwlockattr_destroy
161bc2f376eSDavid Xu #undef		pthread_rwlockattr_getpshared
162bc2f376eSDavid Xu #undef		pthread_rwlockattr_init
163bc2f376eSDavid Xu #undef		pthread_rwlockattr_setpshared
164bc2f376eSDavid Xu #undef		pthread_self
165eb396e51SMatthew Dillon #undef		pthread_get_name_np
166bc2f376eSDavid Xu #undef		pthread_set_name_np
167b2920380SSepherosa Ziehau #undef		pthread_setaffinity_np
168bc2f376eSDavid Xu #undef		pthread_setcancelstate
169bc2f376eSDavid Xu #undef		pthread_setcanceltype
170bc2f376eSDavid Xu #undef		pthread_setconcurrency
171bc2f376eSDavid Xu #undef		pthread_setprio
172bc2f376eSDavid Xu #undef		pthread_setschedparam
17317ea2221SMatthew Dillon #undef		pthread_setspecific
174bc2f376eSDavid Xu #undef		pthread_sigmask
175bc2f376eSDavid Xu #undef		pthread_single_np
176bc2f376eSDavid Xu #undef		pthread_spin_destroy
177bc2f376eSDavid Xu #undef		pthread_spin_init
178bc2f376eSDavid Xu #undef		pthread_spin_lock
179bc2f376eSDavid Xu #undef		pthread_spin_trylock
180bc2f376eSDavid Xu #undef		pthread_spin_unlock
181bc2f376eSDavid Xu #undef		pthread_suspend_all_np
182bc2f376eSDavid Xu #undef		pthread_suspend_np
183bc2f376eSDavid Xu #undef		pthread_switch_add_np
184bc2f376eSDavid Xu #undef		pthread_switch_delete_np
185bc2f376eSDavid Xu #undef		pthread_testcancel
186bc2f376eSDavid Xu #undef		pthread_timedjoin_np
187bc2f376eSDavid Xu #undef		pthread_yield
18817ea2221SMatthew Dillon #undef		read
18917ea2221SMatthew Dillon #undef		readv
19017ea2221SMatthew Dillon #undef		recvfrom
19117ea2221SMatthew Dillon #undef		recvmsg
19217ea2221SMatthew Dillon #undef		select
193bc2f376eSDavid Xu #undef		sem_close
194bc2f376eSDavid Xu #undef		sem_destroy
195bc2f376eSDavid Xu #undef		sem_getvalue
196bc2f376eSDavid Xu #undef		sem_init
197bc2f376eSDavid Xu #undef		sem_open
198bc2f376eSDavid Xu #undef		sem_post
199bc2f376eSDavid Xu #undef		sem_timedwait
200bc2f376eSDavid Xu #undef		sem_trywait
201bc2f376eSDavid Xu #undef		sem_unlink
202bc2f376eSDavid Xu #undef		sem_wait
20317ea2221SMatthew Dillon #undef		sendmsg
20417ea2221SMatthew Dillon #undef		sendto
20517ea2221SMatthew Dillon #undef		setsockopt
20617ea2221SMatthew Dillon #undef		sigaction
20717ea2221SMatthew Dillon #undef		sigprocmask
20817ea2221SMatthew Dillon #undef		sigsuspend
20917ea2221SMatthew Dillon #undef		socket
21017ea2221SMatthew Dillon #undef		socketpair
211e2b7bcaeSSascha Wildner #undef		usleep
21217ea2221SMatthew Dillon #undef		wait4
21333b81dc9SMatthew Dillon #undef		wait6
214e2b7bcaeSSascha Wildner #undef		waitpid
21533b81dc9SMatthew Dillon #undef		waitid
21617ea2221SMatthew Dillon #undef		write
21717ea2221SMatthew Dillon #undef		writev
21817ea2221SMatthew Dillon 
21917ea2221SMatthew Dillon #if 0
22017ea2221SMatthew Dillon #undef		creat
22117ea2221SMatthew Dillon #undef		fchflags
22217ea2221SMatthew Dillon #undef		fchmod
22317ea2221SMatthew Dillon #undef		fpathconf
22417ea2221SMatthew Dillon #undef		ftrylockfile
22517ea2221SMatthew Dillon #undef		msync
22617ea2221SMatthew Dillon #undef		nfssvc
22717ea2221SMatthew Dillon #undef		pause
22817ea2221SMatthew Dillon #undef		sched_yield
22917ea2221SMatthew Dillon #undef		sendfile
23017ea2221SMatthew Dillon #undef		shutdown
23117ea2221SMatthew Dillon #undef		sigaltstack
23217ea2221SMatthew Dillon #undef		signanosleep
23317ea2221SMatthew Dillon #undef		sigpending
23417ea2221SMatthew Dillon #undef		sigreturn
23517ea2221SMatthew Dillon #undef		sigsetmask
23617ea2221SMatthew Dillon #undef		sleep
23717ea2221SMatthew Dillon #undef		system
23817ea2221SMatthew Dillon #undef		tcdrain
23917ea2221SMatthew Dillon #undef		wait
24017ea2221SMatthew Dillon #endif	/* 0 */
24117ea2221SMatthew Dillon 
24217ea2221SMatthew Dillon #ifdef _SIGNAL_H_
24317ea2221SMatthew Dillon int     	_sigaction(int, const struct sigaction *, struct sigaction *);
24417ea2221SMatthew Dillon #endif
24517ea2221SMatthew Dillon 
24617ea2221SMatthew Dillon #ifdef _SYS_EVENT_H_
24717ea2221SMatthew Dillon int		_kevent(int, const struct kevent *, int, struct kevent *,
24817ea2221SMatthew Dillon 		    int, const struct timespec *);
24917ea2221SMatthew Dillon #endif
25017ea2221SMatthew Dillon 
25117ea2221SMatthew Dillon #ifdef _SYS_FCNTL_H_
25217ea2221SMatthew Dillon int		_flock(int, int);
25317ea2221SMatthew Dillon #endif
25417ea2221SMatthew Dillon 
255e2b7bcaeSSascha Wildner #undef		err
256e2b7bcaeSSascha Wildner #undef		warn
257ed5d5720SPeter Avalos #undef		nsdispatch
258ed5d5720SPeter Avalos 
25917ea2221SMatthew Dillon #endif	/* _UN_NAMESPACE_H_ */
26017ea2221SMatthew Dillon 
261