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