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 3486ccdacbSAaron LI #undef clock_nanosleep 3517ea2221SMatthew Dillon #undef close 3617ea2221SMatthew Dillon #undef connect 3717ea2221SMatthew Dillon #undef dup 3817ea2221SMatthew Dillon #undef dup2 3917ea2221SMatthew Dillon #undef execve 4017ea2221SMatthew Dillon #undef fcntl 41*5aa57652SSascha Wildner /*#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 5014ba680bSSascha Wildner #undef getprogname 5117ea2221SMatthew Dillon #undef getsockname 5217ea2221SMatthew Dillon #undef getsockopt 5317ea2221SMatthew Dillon #undef ioctl 54*5aa57652SSascha Wildner /*#undef kevent*/ 5517ea2221SMatthew Dillon #undef listen 5617ea2221SMatthew Dillon #undef nanosleep 5717ea2221SMatthew Dillon #undef open 5811699d20SMatthew Dillon #undef openat 59563ed2c8SMatthew Dillon #undef mkdirat 6011699d20SMatthew Dillon #undef unlink 6111699d20SMatthew Dillon #undef unlinkat 62ce0e08e2SPeter Avalos #undef poll 636d2444c4SImre Vadasz #undef ppoll 64bc2f376eSDavid Xu #undef pthread_atfork 65bc2f376eSDavid Xu #undef pthread_attr_destroy 66bc2f376eSDavid Xu #undef pthread_attr_get_np 673ae362f2SSepherosa Ziehau #undef pthread_attr_getaffinity_np 68bc2f376eSDavid Xu #undef pthread_attr_getdetachstate 69bc2f376eSDavid Xu #undef pthread_attr_getguardsize 70bc2f376eSDavid Xu #undef pthread_attr_getinheritsched 71bc2f376eSDavid Xu #undef pthread_attr_getschedparam 72bc2f376eSDavid Xu #undef pthread_attr_getschedpolicy 73bc2f376eSDavid Xu #undef pthread_attr_getscope 74bc2f376eSDavid Xu #undef pthread_attr_getstack 75bc2f376eSDavid Xu #undef pthread_attr_getstackaddr 76bc2f376eSDavid Xu #undef pthread_attr_getstacksize 77bc2f376eSDavid Xu #undef pthread_attr_init 783ae362f2SSepherosa Ziehau #undef pthread_attr_setaffinity_np 79bc2f376eSDavid Xu #undef pthread_attr_setcreatesuspend_np 80bc2f376eSDavid Xu #undef pthread_attr_setdetachstate 81bc2f376eSDavid Xu #undef pthread_attr_setguardsize 82bc2f376eSDavid Xu #undef pthread_attr_setinheritsched 83bc2f376eSDavid Xu #undef pthread_attr_setschedparam 84bc2f376eSDavid Xu #undef pthread_attr_setschedpolicy 85bc2f376eSDavid Xu #undef pthread_attr_setscope 86bc2f376eSDavid Xu #undef pthread_attr_setstack 87bc2f376eSDavid Xu #undef pthread_attr_setstackaddr 88bc2f376eSDavid Xu #undef pthread_attr_setstacksize 89bc2f376eSDavid Xu #undef pthread_barrier_destroy 90bc2f376eSDavid Xu #undef pthread_barrier_init 91bc2f376eSDavid Xu #undef pthread_barrier_wait 92bc2f376eSDavid Xu #undef pthread_barrierattr_destroy 93bc2f376eSDavid Xu #undef pthread_barrierattr_getpshared 94bc2f376eSDavid Xu #undef pthread_barrierattr_init 95bc2f376eSDavid Xu #undef pthread_barrierattr_setpshared 96bc2f376eSDavid Xu #undef pthread_cancel 97bc2f376eSDavid Xu #undef pthread_cleanup_pop 98bc2f376eSDavid Xu #undef pthread_cleanup_push 99bc2f376eSDavid Xu #undef pthread_cond_broadcast 100bc2f376eSDavid Xu #undef pthread_cond_destroy 101bc2f376eSDavid Xu #undef pthread_cond_init 102bc2f376eSDavid Xu #undef pthread_cond_signal 103bc2f376eSDavid Xu #undef pthread_cond_timedwait 104bc2f376eSDavid Xu #undef pthread_cond_wait 105bc2f376eSDavid Xu #undef pthread_condattr_destroy 106bc2f376eSDavid Xu #undef pthread_condattr_getclock 107bc2f376eSDavid Xu #undef pthread_condattr_getpshared 108bc2f376eSDavid Xu #undef pthread_condattr_init 109bc2f376eSDavid Xu #undef pthread_condattr_setclock 110bc2f376eSDavid Xu #undef pthread_condattr_setpshared 111bc2f376eSDavid Xu #undef pthread_create 112bc2f376eSDavid Xu #undef pthread_detach 113bc2f376eSDavid Xu #undef pthread_equal 114bc2f376eSDavid Xu #undef pthread_exit 115ab5dc9acSSascha Wildner #undef pthread_get_name_np 116b2920380SSepherosa Ziehau #undef pthread_getaffinity_np 11755f11bd6Szrj #undef pthread_getattr_np 118bc2f376eSDavid Xu #undef pthread_getconcurrency 119725edadfSSascha Wildner #undef pthread_getcpuclockid 120ab5dc9acSSascha Wildner #undef pthread_getname_np 121bc2f376eSDavid Xu #undef pthread_getprio 122bc2f376eSDavid Xu #undef pthread_getschedparam 12317ea2221SMatthew Dillon #undef pthread_getspecific 124c0f25c26SImre Vadász #undef pthread_getthreadid_np 125139374e6Szrj #undef pthread_is_threaded_np 126bc2f376eSDavid Xu #undef pthread_join 12717ea2221SMatthew Dillon #undef pthread_key_create 12817ea2221SMatthew Dillon #undef pthread_key_delete 129bc2f376eSDavid Xu #undef pthread_kill 130bc2f376eSDavid Xu #undef pthread_main_np 131bc2f376eSDavid Xu #undef pthread_multi_np 13217ea2221SMatthew Dillon #undef pthread_mutex_destroy 133bc2f376eSDavid Xu #undef pthread_mutex_getprioceiling 13417ea2221SMatthew Dillon #undef pthread_mutex_init 13517ea2221SMatthew Dillon #undef pthread_mutex_lock 136bc2f376eSDavid Xu #undef pthread_mutex_setprioceiling 137bc2f376eSDavid Xu #undef pthread_mutex_timedlock 13817ea2221SMatthew Dillon #undef pthread_mutex_trylock 13917ea2221SMatthew Dillon #undef pthread_mutex_unlock 14017ea2221SMatthew Dillon #undef pthread_mutexattr_destroy 141bc2f376eSDavid Xu #undef pthread_mutexattr_getkind_np 142bc2f376eSDavid Xu #undef pthread_mutexattr_getprioceiling 143bc2f376eSDavid Xu #undef pthread_mutexattr_getprotocol 144bc2f376eSDavid Xu #undef pthread_mutexattr_getpshared 145bc2f376eSDavid Xu #undef pthread_mutexattr_gettype 146bc2f376eSDavid Xu #undef pthread_mutexattr_init 147bc2f376eSDavid Xu #undef pthread_mutexattr_setkind_np 148bc2f376eSDavid Xu #undef pthread_mutexattr_setprioceiling 149bc2f376eSDavid Xu #undef pthread_mutexattr_setprotocol 150bc2f376eSDavid Xu #undef pthread_mutexattr_setpshared 15117ea2221SMatthew Dillon #undef pthread_mutexattr_settype 15217ea2221SMatthew Dillon #undef pthread_once 153bc2f376eSDavid Xu #undef pthread_resume_all_np 154bc2f376eSDavid Xu #undef pthread_resume_np 155bc2f376eSDavid Xu #undef pthread_rwlock_destroy 156bc2f376eSDavid Xu #undef pthread_rwlock_init 157bc2f376eSDavid Xu #undef pthread_rwlock_rdlock 158bc2f376eSDavid Xu #undef pthread_rwlock_timedrdlock 159bc2f376eSDavid Xu #undef pthread_rwlock_timedwrlock 160bc2f376eSDavid Xu #undef pthread_rwlock_tryrdlock 161bc2f376eSDavid Xu #undef pthread_rwlock_trywrlock 162bc2f376eSDavid Xu #undef pthread_rwlock_unlock 163bc2f376eSDavid Xu #undef pthread_rwlock_wrlock 164bc2f376eSDavid Xu #undef pthread_rwlockattr_destroy 165bc2f376eSDavid Xu #undef pthread_rwlockattr_getpshared 166bc2f376eSDavid Xu #undef pthread_rwlockattr_init 167bc2f376eSDavid Xu #undef pthread_rwlockattr_setpshared 168bc2f376eSDavid Xu #undef pthread_self 169bc2f376eSDavid Xu #undef pthread_set_name_np 170b2920380SSepherosa Ziehau #undef pthread_setaffinity_np 171bc2f376eSDavid Xu #undef pthread_setcancelstate 172bc2f376eSDavid Xu #undef pthread_setcanceltype 173bc2f376eSDavid Xu #undef pthread_setconcurrency 174ab5dc9acSSascha Wildner #undef pthread_setname_np 175bc2f376eSDavid Xu #undef pthread_setprio 176bc2f376eSDavid Xu #undef pthread_setschedparam 17717ea2221SMatthew Dillon #undef pthread_setspecific 178bc2f376eSDavid Xu #undef pthread_sigmask 179bc2f376eSDavid Xu #undef pthread_single_np 180bc2f376eSDavid Xu #undef pthread_spin_destroy 181bc2f376eSDavid Xu #undef pthread_spin_init 182bc2f376eSDavid Xu #undef pthread_spin_lock 183bc2f376eSDavid Xu #undef pthread_spin_trylock 184bc2f376eSDavid Xu #undef pthread_spin_unlock 185bc2f376eSDavid Xu #undef pthread_suspend_all_np 186bc2f376eSDavid Xu #undef pthread_suspend_np 187bc2f376eSDavid Xu #undef pthread_switch_add_np 188bc2f376eSDavid Xu #undef pthread_switch_delete_np 189bc2f376eSDavid Xu #undef pthread_testcancel 190bc2f376eSDavid Xu #undef pthread_timedjoin_np 191bc2f376eSDavid Xu #undef pthread_yield 1929d94a5bbSzrj #undef pthread_yield_np 19317ea2221SMatthew Dillon #undef read 19417ea2221SMatthew Dillon #undef readv 19517ea2221SMatthew Dillon #undef recvfrom 19617ea2221SMatthew Dillon #undef recvmsg 19717ea2221SMatthew Dillon #undef select 198bc2f376eSDavid Xu #undef sem_close 199bc2f376eSDavid Xu #undef sem_destroy 200bc2f376eSDavid Xu #undef sem_getvalue 201bc2f376eSDavid Xu #undef sem_init 202bc2f376eSDavid Xu #undef sem_open 203bc2f376eSDavid Xu #undef sem_post 204bc2f376eSDavid Xu #undef sem_timedwait 205bc2f376eSDavid Xu #undef sem_trywait 206bc2f376eSDavid Xu #undef sem_unlink 207bc2f376eSDavid Xu #undef sem_wait 20817ea2221SMatthew Dillon #undef sendmsg 20917ea2221SMatthew Dillon #undef sendto 21017ea2221SMatthew Dillon #undef setsockopt 211*5aa57652SSascha Wildner /*#undef sigaction*/ 21217ea2221SMatthew Dillon #undef sigprocmask 21317ea2221SMatthew Dillon #undef sigsuspend 21417ea2221SMatthew Dillon #undef socket 21517ea2221SMatthew Dillon #undef socketpair 216e2b7bcaeSSascha Wildner #undef usleep 21717ea2221SMatthew Dillon #undef wait4 21833b81dc9SMatthew Dillon #undef wait6 219e2b7bcaeSSascha Wildner #undef waitpid 22033b81dc9SMatthew Dillon #undef waitid 22117ea2221SMatthew Dillon #undef write 22217ea2221SMatthew Dillon #undef writev 22317ea2221SMatthew Dillon 22417ea2221SMatthew Dillon #if 0 22517ea2221SMatthew Dillon #undef creat 22617ea2221SMatthew Dillon #undef fchflags 22717ea2221SMatthew Dillon #undef fchmod 22817ea2221SMatthew Dillon #undef fpathconf 22917ea2221SMatthew Dillon #undef ftrylockfile 23017ea2221SMatthew Dillon #undef msync 23117ea2221SMatthew Dillon #undef nfssvc 23217ea2221SMatthew Dillon #undef pause 23317ea2221SMatthew Dillon #undef sched_yield 23417ea2221SMatthew Dillon #undef sendfile 23517ea2221SMatthew Dillon #undef shutdown 23617ea2221SMatthew Dillon #undef sigaltstack 23717ea2221SMatthew Dillon #undef signanosleep 23817ea2221SMatthew Dillon #undef sigpending 23917ea2221SMatthew Dillon #undef sigreturn 24017ea2221SMatthew Dillon #undef sigsetmask 24117ea2221SMatthew Dillon #undef sleep 24217ea2221SMatthew Dillon #undef system 24317ea2221SMatthew Dillon #undef tcdrain 24417ea2221SMatthew Dillon #undef wait 24517ea2221SMatthew Dillon #endif /* 0 */ 24617ea2221SMatthew Dillon 24717ea2221SMatthew Dillon #ifdef _SIGNAL_H_ 24817ea2221SMatthew Dillon int _sigaction(int, const struct sigaction *, struct sigaction *); 24917ea2221SMatthew Dillon #endif 25017ea2221SMatthew Dillon 25117ea2221SMatthew Dillon #ifdef _SYS_EVENT_H_ 25217ea2221SMatthew Dillon int _kevent(int, const struct kevent *, int, struct kevent *, 25317ea2221SMatthew Dillon int, const struct timespec *); 25417ea2221SMatthew Dillon #endif 25517ea2221SMatthew Dillon 25617ea2221SMatthew Dillon #ifdef _SYS_FCNTL_H_ 25717ea2221SMatthew Dillon int _flock(int, int); 25817ea2221SMatthew Dillon #endif 25917ea2221SMatthew Dillon 260e2b7bcaeSSascha Wildner #undef err 261e2b7bcaeSSascha Wildner #undef warn 262ed5d5720SPeter Avalos #undef nsdispatch 263ed5d5720SPeter Avalos 26417ea2221SMatthew Dillon #endif /* _UN_NAMESPACE_H_ */ 26517ea2221SMatthew Dillon 266