un-namespace.h revision 157218
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: head/lib/libc/include/un-namespace.h 157218 2006-03-28 16:41:06Z des $ 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_atfork 66#undef pthread_attr_destroy 67#undef pthread_attr_get_np 68#undef pthread_attr_getdetachstate 69#undef pthread_attr_getguardsize 70#undef pthread_attr_getinheritsched 71#undef pthread_attr_getschedparam 72#undef pthread_attr_getschedpolicy 73#undef pthread_attr_getscope 74#undef pthread_attr_getstack 75#undef pthread_attr_getstackaddr 76#undef pthread_attr_getstacksize 77#undef pthread_attr_init 78#undef pthread_attr_setcreatesuspend_np 79#undef pthread_attr_setdetachstate 80#undef pthread_attr_setguardsize 81#undef pthread_attr_setinheritsched 82#undef pthread_attr_setschedparam 83#undef pthread_attr_setschedpolicy 84#undef pthread_attr_setscope 85#undef pthread_attr_setstack 86#undef pthread_attr_setstackaddr 87#undef pthread_attr_setstacksize 88#undef pthread_barrier_destroy 89#undef pthread_barrier_init 90#undef pthread_barrier_wait 91#undef pthread_barrierattr_destroy 92#undef pthread_barrierattr_getpshared 93#undef pthread_barrierattr_init 94#undef pthread_barrierattr_setpshared 95#undef pthread_cancel 96#undef pthread_cleanup_pop 97#undef pthread_cleanup_push 98#undef pthread_cond_broadcast 99#undef pthread_cond_destroy 100#undef pthread_cond_init 101#undef pthread_cond_signal 102#undef pthread_cond_timedwait 103#undef pthread_cond_wait 104#undef pthread_condattr_destroy 105#undef pthread_condattr_getclock 106#undef pthread_condattr_getpshared 107#undef pthread_condattr_init 108#undef pthread_condattr_setclock 109#undef pthread_condattr_setpshared 110#undef pthread_create 111#undef pthread_detach 112#undef pthread_equal 113#undef pthread_exit 114#undef pthread_getconcurrency 115#undef pthread_getprio 116#undef pthread_getschedparam 117#undef pthread_getspecific 118#undef pthread_join 119#undef pthread_key_create 120#undef pthread_key_delete 121#undef pthread_kill 122#undef pthread_main_np 123#undef pthread_multi_np 124#undef pthread_mutex_destroy 125#undef pthread_mutex_getprioceiling 126#undef pthread_mutex_init 127#undef pthread_mutex_lock 128#undef pthread_mutex_setprioceiling 129#undef pthread_mutex_timedlock 130#undef pthread_mutex_trylock 131#undef pthread_mutex_unlock 132#undef pthread_mutexattr_destroy 133#undef pthread_mutexattr_getkind_np 134#undef pthread_mutexattr_getprioceiling 135#undef pthread_mutexattr_getprotocol 136#undef pthread_mutexattr_getpshared 137#undef pthread_mutexattr_gettype 138#undef pthread_mutexattr_init 139#undef pthread_mutexattr_setkind_np 140#undef pthread_mutexattr_setprioceiling 141#undef pthread_mutexattr_setprotocol 142#undef pthread_mutexattr_setpshared 143#undef pthread_mutexattr_settype 144#undef pthread_once 145#undef pthread_resume_all_np 146#undef pthread_resume_np 147#undef pthread_rwlock_destroy 148#undef pthread_rwlock_init 149#undef pthread_rwlock_rdlock 150#undef pthread_rwlock_timedrdlock 151#undef pthread_rwlock_timedwrlock 152#undef pthread_rwlock_tryrdlock 153#undef pthread_rwlock_trywrlock 154#undef pthread_rwlock_unlock 155#undef pthread_rwlock_wrlock 156#undef pthread_rwlockattr_destroy 157#undef pthread_rwlockattr_getpshared 158#undef pthread_rwlockattr_init 159#undef pthread_rwlockattr_setpshared 160#undef pthread_self 161#undef pthread_set_name_np 162#undef pthread_setcancelstate 163#undef pthread_setcanceltype 164#undef pthread_setconcurrency 165#undef pthread_setprio 166#undef pthread_setschedparam 167#undef pthread_setspecific 168#undef pthread_sigmask 169#undef pthread_single_np 170#undef pthread_spin_destroy 171#undef pthread_spin_init 172#undef pthread_spin_lock 173#undef pthread_spin_trylock 174#undef pthread_spin_unlock 175#undef pthread_suspend_all_np 176#undef pthread_suspend_np 177#undef pthread_switch_add_np 178#undef pthread_switch_delete_np 179#undef pthread_testcancel 180#undef pthread_timedjoin_np 181#undef pthread_yield 182#undef read 183#undef readv 184#undef recvfrom 185#undef recvmsg 186#undef select 187#undef sendmsg 188#undef sendto 189#undef setsockopt 190#undef sigaction 191#undef sigprocmask 192#undef sigsuspend 193#undef socket 194#undef socketpair 195#undef usleep 196#undef wait4 197#undef waitpid 198#undef write 199#undef writev 200 201#if 0 202#undef creat 203#undef fchflags 204#undef fchmod 205#undef ftrylockfile 206#undef msync 207#undef nfssvc 208#undef pause 209#undef pthread_rwlockattr_init 210#undef pthread_rwlockattr_destroy 211#undef sched_yield 212#undef sendfile 213#undef shutdown 214#undef sigaltstack 215#undef sigpending 216#undef sigreturn 217#undef sigsetmask 218#undef sleep 219#undef system 220#undef tcdrain 221#undef wait 222#endif /* 0 */ 223 224#ifdef _SIGNAL_H_ 225int _sigaction(int, const struct sigaction *, struct sigaction *); 226#endif 227 228#ifdef _SYS_EVENT_H_ 229int _kevent(int, const struct kevent *, int, struct kevent *, 230 int, const struct timespec *); 231#endif 232 233#ifdef _SYS_FCNTL_H_ 234int _flock(int, int); 235#endif 236 237#undef err 238#undef warn 239#undef nsdispatch 240 241#endif /* _UN_NAMESPACE_H_ */ 242