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 getsockname 56 #undef getsockopt 57 #undef ioctl 58 #undef kevent 59 #undef listen 60 #undef nanosleep 61 #undef open 62 #undef pthread_getspecific 63 #undef pthread_key_create 64 #undef pthread_key_delete 65 #undef pthread_mutex_destroy 66 #undef pthread_mutex_init 67 #undef pthread_mutex_lock 68 #undef pthread_mutex_trylock 69 #undef pthread_mutex_unlock 70 #undef pthread_mutexattr_init 71 #undef pthread_mutexattr_destroy 72 #undef pthread_mutexattr_settype 73 #undef pthread_once 74 #undef pthread_self 75 #undef pthread_setspecific 76 #undef read 77 #undef readv 78 #undef recvfrom 79 #undef recvmsg 80 #undef select 81 #undef sendmsg 82 #undef sendto 83 #undef setsockopt 84 #undef sigaction 85 #undef sigprocmask 86 #undef sigsuspend 87 #undef socket 88 #undef socketpair 89 #undef wait4 90 #undef write 91 #undef writev 92 93 #if 0 94 #undef creat 95 #undef fchflags 96 #undef fchmod 97 #undef fpathconf 98 #undef ftrylockfile 99 #undef msync 100 #undef nfssvc 101 #undef pause 102 #undef poll 103 #undef pthread_rwlock_destroy 104 #undef pthread_rwlock_init 105 #undef pthread_rwlock_rdlock 106 #undef pthread_rwlock_tryrdlock 107 #undef pthread_rwlock_trywrlock 108 #undef pthread_rwlock_unlock 109 #undef pthread_rwlock_wrlock 110 #undef pthread_rwlockattr_init 111 #undef pthread_rwlockattr_destroy 112 #undef sched_yield 113 #undef sendfile 114 #undef shutdown 115 #undef sigaltstack 116 #undef sigpending 117 #undef sigreturn 118 #undef sigsetmask 119 #undef sleep 120 #undef system 121 #undef tcdrain 122 #undef wait 123 #undef waitpid 124 #endif /* 0 */ 125 126 #ifdef _SIGNAL_H_ 127 int _sigaction(int, const struct sigaction *, struct sigaction *); 128 #endif 129 130 #ifdef _SYS_EVENT_H_ 131 int _kevent(int, const struct kevent *, int, struct kevent *, 132 int, const struct timespec *); 133 #endif 134 135 #ifdef _SYS_FCNTL_H_ 136 int _flock(int, int); 137 #endif 138 139 #undef warn 140 141 #endif /* _UN_NAMESPACE_H_ */ 142