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