1*17ea2221SMatthew Dillon /* 2*17ea2221SMatthew Dillon * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>. 3*17ea2221SMatthew Dillon * All rights reserved. 4*17ea2221SMatthew Dillon * 5*17ea2221SMatthew Dillon * Redistribution and use in source and binary forms, with or without 6*17ea2221SMatthew Dillon * modification, are permitted provided that the following conditions 7*17ea2221SMatthew Dillon * are met: 8*17ea2221SMatthew Dillon * 1. Redistributions of source code must retain the above copyright 9*17ea2221SMatthew Dillon * notice, this list of conditions and the following disclaimer. 10*17ea2221SMatthew Dillon * 2. Redistributions in binary form must reproduce the above copyright 11*17ea2221SMatthew Dillon * notice, this list of conditions and the following disclaimer in the 12*17ea2221SMatthew Dillon * documentation and/or other materials provided with the distribution. 13*17ea2221SMatthew Dillon * 14*17ea2221SMatthew Dillon * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15*17ea2221SMatthew Dillon * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16*17ea2221SMatthew Dillon * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17*17ea2221SMatthew Dillon * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 18*17ea2221SMatthew Dillon * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19*17ea2221SMatthew Dillon * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20*17ea2221SMatthew Dillon * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21*17ea2221SMatthew Dillon * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22*17ea2221SMatthew Dillon * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23*17ea2221SMatthew Dillon * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24*17ea2221SMatthew Dillon * SUCH DAMAGE. 25*17ea2221SMatthew Dillon * 26*17ea2221SMatthew Dillon * $FreeBSD: /repoman/r/ncvs/src/lib/libc/include/un-namespace.h,v 1.1 2001/01/24 13:00:09 deischen Exp $ 27*17ea2221SMatthew Dillon * $DragonFly: src/lib/libc/include/un-namespace.h,v 1.1 2005/01/31 22:29:29 dillon Exp $ 28*17ea2221SMatthew Dillon */ 29*17ea2221SMatthew Dillon 30*17ea2221SMatthew Dillon #ifndef _UN_NAMESPACE_H_ 31*17ea2221SMatthew Dillon #define _UN_NAMESPACE_H_ 32*17ea2221SMatthew Dillon 33*17ea2221SMatthew Dillon #undef accept 34*17ea2221SMatthew Dillon #undef bind 35*17ea2221SMatthew Dillon #undef close 36*17ea2221SMatthew Dillon #undef connect 37*17ea2221SMatthew Dillon #undef dup 38*17ea2221SMatthew Dillon #undef dup2 39*17ea2221SMatthew Dillon #undef execve 40*17ea2221SMatthew Dillon #undef fcntl 41*17ea2221SMatthew Dillon #undef flock 42*17ea2221SMatthew Dillon #undef flockfile 43*17ea2221SMatthew Dillon #undef fstat 44*17ea2221SMatthew Dillon #undef fstatfs 45*17ea2221SMatthew Dillon #undef fsync 46*17ea2221SMatthew Dillon #undef funlockfile 47*17ea2221SMatthew Dillon #undef getdirentries 48*17ea2221SMatthew Dillon #undef getlogin 49*17ea2221SMatthew Dillon #undef getpeername 50*17ea2221SMatthew Dillon #undef getsockname 51*17ea2221SMatthew Dillon #undef getsockopt 52*17ea2221SMatthew Dillon #undef ioctl 53*17ea2221SMatthew Dillon #undef kevent 54*17ea2221SMatthew Dillon #undef listen 55*17ea2221SMatthew Dillon #undef nanosleep 56*17ea2221SMatthew Dillon #undef open 57*17ea2221SMatthew Dillon #undef pthread_getspecific 58*17ea2221SMatthew Dillon #undef pthread_key_create 59*17ea2221SMatthew Dillon #undef pthread_key_delete 60*17ea2221SMatthew Dillon #undef pthread_mutex_destroy 61*17ea2221SMatthew Dillon #undef pthread_mutex_init 62*17ea2221SMatthew Dillon #undef pthread_mutex_lock 63*17ea2221SMatthew Dillon #undef pthread_mutex_trylock 64*17ea2221SMatthew Dillon #undef pthread_mutex_unlock 65*17ea2221SMatthew Dillon #undef pthread_mutexattr_init 66*17ea2221SMatthew Dillon #undef pthread_mutexattr_destroy 67*17ea2221SMatthew Dillon #undef pthread_mutexattr_settype 68*17ea2221SMatthew Dillon #undef pthread_once 69*17ea2221SMatthew Dillon #undef pthread_setspecific 70*17ea2221SMatthew Dillon #undef read 71*17ea2221SMatthew Dillon #undef readv 72*17ea2221SMatthew Dillon #undef recvfrom 73*17ea2221SMatthew Dillon #undef recvmsg 74*17ea2221SMatthew Dillon #undef select 75*17ea2221SMatthew Dillon #undef sendmsg 76*17ea2221SMatthew Dillon #undef sendto 77*17ea2221SMatthew Dillon #undef setsockopt 78*17ea2221SMatthew Dillon #undef sigaction 79*17ea2221SMatthew Dillon #undef sigprocmask 80*17ea2221SMatthew Dillon #undef sigsuspend 81*17ea2221SMatthew Dillon #undef socket 82*17ea2221SMatthew Dillon #undef socketpair 83*17ea2221SMatthew Dillon #undef wait4 84*17ea2221SMatthew Dillon #undef write 85*17ea2221SMatthew Dillon #undef writev 86*17ea2221SMatthew Dillon 87*17ea2221SMatthew Dillon #if 0 88*17ea2221SMatthew Dillon #undef creat 89*17ea2221SMatthew Dillon #undef fchflags 90*17ea2221SMatthew Dillon #undef fchmod 91*17ea2221SMatthew Dillon #undef fpathconf 92*17ea2221SMatthew Dillon #undef ftrylockfile 93*17ea2221SMatthew Dillon #undef msync 94*17ea2221SMatthew Dillon #undef nfssvc 95*17ea2221SMatthew Dillon #undef pause 96*17ea2221SMatthew Dillon #undef poll 97*17ea2221SMatthew Dillon #undef pthread_rwlock_destroy 98*17ea2221SMatthew Dillon #undef pthread_rwlock_init 99*17ea2221SMatthew Dillon #undef pthread_rwlock_rdlock 100*17ea2221SMatthew Dillon #undef pthread_rwlock_tryrdlock 101*17ea2221SMatthew Dillon #undef pthread_rwlock_trywrlock 102*17ea2221SMatthew Dillon #undef pthread_rwlock_unlock 103*17ea2221SMatthew Dillon #undef pthread_rwlock_wrlock 104*17ea2221SMatthew Dillon #undef pthread_rwlockattr_init 105*17ea2221SMatthew Dillon #undef pthread_rwlockattr_destroy 106*17ea2221SMatthew Dillon #undef pthread_self 107*17ea2221SMatthew Dillon #undef sched_yield 108*17ea2221SMatthew Dillon #undef sendfile 109*17ea2221SMatthew Dillon #undef shutdown 110*17ea2221SMatthew Dillon #undef sigaltstack 111*17ea2221SMatthew Dillon #undef signanosleep 112*17ea2221SMatthew Dillon #undef sigpending 113*17ea2221SMatthew Dillon #undef sigreturn 114*17ea2221SMatthew Dillon #undef sigsetmask 115*17ea2221SMatthew Dillon #undef sleep 116*17ea2221SMatthew Dillon #undef system 117*17ea2221SMatthew Dillon #undef tcdrain 118*17ea2221SMatthew Dillon #undef wait 119*17ea2221SMatthew Dillon #undef waitpid 120*17ea2221SMatthew Dillon #endif /* 0 */ 121*17ea2221SMatthew Dillon 122*17ea2221SMatthew Dillon #ifdef _SIGNAL_H_ 123*17ea2221SMatthew Dillon int _sigaction(int, const struct sigaction *, struct sigaction *); 124*17ea2221SMatthew Dillon #endif 125*17ea2221SMatthew Dillon 126*17ea2221SMatthew Dillon #ifdef _SYS_EVENT_H_ 127*17ea2221SMatthew Dillon int _kevent(int, const struct kevent *, int, struct kevent *, 128*17ea2221SMatthew Dillon int, const struct timespec *); 129*17ea2221SMatthew Dillon #endif 130*17ea2221SMatthew Dillon 131*17ea2221SMatthew Dillon #ifdef _SYS_FCNTL_H_ 132*17ea2221SMatthew Dillon int _flock(int, int); 133*17ea2221SMatthew Dillon #endif 134*17ea2221SMatthew Dillon 135*17ea2221SMatthew Dillon #endif /* _UN_NAMESPACE_H_ */ 136*17ea2221SMatthew Dillon 137