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: src/lib/libc/include/un-namespace.h,v 1.13 2003/05/01 19:03:13 nectar Exp $ 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 fpathconf 49 #undef fstat 50 #undef fstatfs 51 #undef fsync 52 #undef funlockfile 53 #undef getdirentries 54 #undef getlogin 55 #undef getpeername 56 #undef getprogname 57 #undef getsockname 58 #undef getsockopt 59 #undef ioctl 60 #undef kevent 61 #undef listen 62 #undef nanosleep 63 #undef open 64 #undef poll 65 #undef pthread_cond_broadcast 66 #undef pthread_cond_destroy 67 #undef pthread_cond_init 68 #undef pthread_cond_signal 69 #undef pthread_cond_timedwait 70 #undef pthread_cond_wait 71 #undef pthread_exit 72 #undef pthread_getspecific 73 #undef pthread_key_create 74 #undef pthread_key_delete 75 #undef pthread_main_np 76 #undef pthread_mutex_destroy 77 #undef pthread_mutex_init 78 #undef pthread_mutex_lock 79 #undef pthread_mutex_trylock 80 #undef pthread_mutex_unlock 81 #undef pthread_mutexattr_init 82 #undef pthread_mutexattr_destroy 83 #undef pthread_mutexattr_settype 84 #undef pthread_once 85 #undef pthread_rwlock_destroy 86 #undef pthread_rwlock_init 87 #undef pthread_rwlock_rdlock 88 #undef pthread_rwlock_wrlock 89 #undef pthread_rwlock_tryrdlock 90 #undef pthread_rwlock_trywrlock 91 #undef pthread_rwlock_unlock 92 #undef pthread_self 93 #undef pthread_setspecific 94 #undef pthread_sigmask 95 #undef read 96 #undef readv 97 #undef recvfrom 98 #undef recvmsg 99 #undef select 100 #undef sendmsg 101 #undef sendto 102 #undef setsockopt 103 #undef sigaction 104 #undef sigprocmask 105 #undef sigsuspend 106 #undef socket 107 #undef socketpair 108 #undef wait4 109 #undef waitpid 110 #undef write 111 #undef writev 112 113 #if 0 114 #undef creat 115 #undef fchflags 116 #undef fchmod 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 #undef nsdispatch 152 153 #endif /* _UN_NAMESPACE_H_ */ 154