171579Sdeischen/* 271579Sdeischen * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>. 371579Sdeischen * All rights reserved. 471579Sdeischen * 571579Sdeischen * Redistribution and use in source and binary forms, with or without 671579Sdeischen * modification, are permitted provided that the following conditions 771579Sdeischen * are met: 871579Sdeischen * 1. Redistributions of source code must retain the above copyright 971579Sdeischen * notice, this list of conditions and the following disclaimer. 1071579Sdeischen * 2. Redistributions in binary form must reproduce the above copyright 1171579Sdeischen * notice, this list of conditions and the following disclaimer in the 1271579Sdeischen * documentation and/or other materials provided with the distribution. 1371579Sdeischen * 1471579Sdeischen * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1571579Sdeischen * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1671579Sdeischen * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1771579Sdeischen * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1871579Sdeischen * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1971579Sdeischen * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2071579Sdeischen * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2171579Sdeischen * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2271579Sdeischen * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2371579Sdeischen * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2471579Sdeischen * SUCH DAMAGE. 2571579Sdeischen * 2671579Sdeischen * $FreeBSD$ 2771579Sdeischen */ 2871579Sdeischen 2971579Sdeischen#ifndef _UN_NAMESPACE_H_ 3071579Sdeischen#define _UN_NAMESPACE_H_ 3171579Sdeischen 3271579Sdeischen#undef accept 3375186Stmm#undef __acl_aclcheck_fd 3475186Stmm#undef __acl_delete_fd 3575186Stmm#undef __acl_get_fd 3675186Stmm#undef __acl_set_fd 3771579Sdeischen#undef bind 3875186Stmm#undef __cap_get_fd 3975186Stmm#undef __cap_set_fd 4071579Sdeischen#undef close 4171579Sdeischen#undef connect 4271579Sdeischen#undef dup 4371579Sdeischen#undef dup2 4471579Sdeischen#undef execve 4571579Sdeischen#undef fcntl 4671579Sdeischen#undef flock 4771579Sdeischen#undef flockfile 48111010Snectar#undef fpathconf 4971579Sdeischen#undef fstat 5071579Sdeischen#undef fstatfs 5171579Sdeischen#undef fsync 5271579Sdeischen#undef funlockfile 5371579Sdeischen#undef getdirentries 5471579Sdeischen#undef getlogin 5571579Sdeischen#undef getpeername 5693399Smarkm#undef getprogname 5771579Sdeischen#undef getsockname 5871579Sdeischen#undef getsockopt 5971579Sdeischen#undef ioctl 6071579Sdeischen#undef kevent 6171579Sdeischen#undef listen 6271579Sdeischen#undef nanosleep 6371579Sdeischen#undef open 64197968Sjilles#undef openat 65106866Sdeischen#undef poll 66156530Sdavidxu#undef pthread_atfork 67156530Sdavidxu#undef pthread_attr_destroy 68157218Sdes#undef pthread_attr_get_np 69177605Sru#undef pthread_attr_getaffinity_np 70156530Sdavidxu#undef pthread_attr_getdetachstate 71156530Sdavidxu#undef pthread_attr_getguardsize 72156530Sdavidxu#undef pthread_attr_getinheritsched 73156530Sdavidxu#undef pthread_attr_getschedparam 74156530Sdavidxu#undef pthread_attr_getschedpolicy 75156530Sdavidxu#undef pthread_attr_getscope 76157218Sdes#undef pthread_attr_getstack 77157218Sdes#undef pthread_attr_getstackaddr 78157218Sdes#undef pthread_attr_getstacksize 79156530Sdavidxu#undef pthread_attr_init 80177605Sru#undef pthread_attr_setaffinity_np 81157218Sdes#undef pthread_attr_setcreatesuspend_np 82156530Sdavidxu#undef pthread_attr_setdetachstate 83156530Sdavidxu#undef pthread_attr_setguardsize 84156530Sdavidxu#undef pthread_attr_setinheritsched 85156530Sdavidxu#undef pthread_attr_setschedparam 86156530Sdavidxu#undef pthread_attr_setschedpolicy 87156530Sdavidxu#undef pthread_attr_setscope 88157218Sdes#undef pthread_attr_setstack 89157218Sdes#undef pthread_attr_setstackaddr 90157218Sdes#undef pthread_attr_setstacksize 91157218Sdes#undef pthread_barrier_destroy 92157218Sdes#undef pthread_barrier_init 93157218Sdes#undef pthread_barrier_wait 94157218Sdes#undef pthread_barrierattr_destroy 95157218Sdes#undef pthread_barrierattr_getpshared 96157218Sdes#undef pthread_barrierattr_init 97157218Sdes#undef pthread_barrierattr_setpshared 98156530Sdavidxu#undef pthread_cancel 99106866Sdeischen#undef pthread_cond_broadcast 100106866Sdeischen#undef pthread_cond_destroy 101106866Sdeischen#undef pthread_cond_init 102106866Sdeischen#undef pthread_cond_signal 103106866Sdeischen#undef pthread_cond_timedwait 104106866Sdeischen#undef pthread_cond_wait 105157218Sdes#undef pthread_condattr_destroy 106157218Sdes#undef pthread_condattr_getclock 107157218Sdes#undef pthread_condattr_getpshared 108157218Sdes#undef pthread_condattr_init 109157218Sdes#undef pthread_condattr_setclock 110157218Sdes#undef pthread_condattr_setpshared 111157218Sdes#undef pthread_create 112156530Sdavidxu#undef pthread_detach 113156530Sdavidxu#undef pthread_equal 114106866Sdeischen#undef pthread_exit 115177855Sdavidxu#undef pthread_getaffinity_np 116157218Sdes#undef pthread_getconcurrency 117177605Sru#undef pthread_getcpuclockid 118157218Sdes#undef pthread_getprio 119157218Sdes#undef pthread_getschedparam 12071579Sdeischen#undef pthread_getspecific 121218414Sjkim#undef pthread_getthreadid_np 122156530Sdavidxu#undef pthread_join 12371579Sdeischen#undef pthread_key_create 12471579Sdeischen#undef pthread_key_delete 125157218Sdes#undef pthread_kill 126106866Sdeischen#undef pthread_main_np 127157218Sdes#undef pthread_multi_np 12871579Sdeischen#undef pthread_mutex_destroy 129157218Sdes#undef pthread_mutex_getprioceiling 13071579Sdeischen#undef pthread_mutex_init 131176058Sdes#undef pthread_mutex_isowned_np 13271579Sdeischen#undef pthread_mutex_lock 133157218Sdes#undef pthread_mutex_setprioceiling 134157218Sdes#undef pthread_mutex_timedlock 13571579Sdeischen#undef pthread_mutex_trylock 13671579Sdeischen#undef pthread_mutex_unlock 137156530Sdavidxu#undef pthread_mutexattr_destroy 138157218Sdes#undef pthread_mutexattr_getkind_np 139157218Sdes#undef pthread_mutexattr_getprioceiling 140157218Sdes#undef pthread_mutexattr_getprotocol 141157218Sdes#undef pthread_mutexattr_getpshared 142157218Sdes#undef pthread_mutexattr_gettype 14371579Sdeischen#undef pthread_mutexattr_init 144157218Sdes#undef pthread_mutexattr_setkind_np 145157218Sdes#undef pthread_mutexattr_setprioceiling 146157218Sdes#undef pthread_mutexattr_setprotocol 147157218Sdes#undef pthread_mutexattr_setpshared 14871579Sdeischen#undef pthread_mutexattr_settype 14971579Sdeischen#undef pthread_once 150157218Sdes#undef pthread_resume_all_np 151157218Sdes#undef pthread_resume_np 152106866Sdeischen#undef pthread_rwlock_destroy 153106866Sdeischen#undef pthread_rwlock_init 154106866Sdeischen#undef pthread_rwlock_rdlock 155157218Sdes#undef pthread_rwlock_timedrdlock 156157218Sdes#undef pthread_rwlock_timedwrlock 157106866Sdeischen#undef pthread_rwlock_tryrdlock 158106866Sdeischen#undef pthread_rwlock_trywrlock 159106866Sdeischen#undef pthread_rwlock_unlock 160157218Sdes#undef pthread_rwlock_wrlock 161157218Sdes#undef pthread_rwlockattr_destroy 162157218Sdes#undef pthread_rwlockattr_getpshared 163157218Sdes#undef pthread_rwlockattr_init 164157218Sdes#undef pthread_rwlockattr_setpshared 16572373Sdeischen#undef pthread_self 166157218Sdes#undef pthread_set_name_np 167177855Sdavidxu#undef pthread_setaffinity_np 168156530Sdavidxu#undef pthread_setcancelstate 169156530Sdavidxu#undef pthread_setcanceltype 170157218Sdes#undef pthread_setconcurrency 171157218Sdes#undef pthread_setprio 172157218Sdes#undef pthread_setschedparam 17371579Sdeischen#undef pthread_setspecific 174106866Sdeischen#undef pthread_sigmask 175157218Sdes#undef pthread_single_np 176157218Sdes#undef pthread_spin_destroy 177157218Sdes#undef pthread_spin_init 178157218Sdes#undef pthread_spin_lock 179157218Sdes#undef pthread_spin_trylock 180157218Sdes#undef pthread_spin_unlock 181157218Sdes#undef pthread_suspend_all_np 182157218Sdes#undef pthread_suspend_np 183157218Sdes#undef pthread_switch_add_np 184157218Sdes#undef pthread_switch_delete_np 185156530Sdavidxu#undef pthread_testcancel 186157218Sdes#undef pthread_timedjoin_np 187157218Sdes#undef pthread_yield 18871579Sdeischen#undef read 18971579Sdeischen#undef readv 19071579Sdeischen#undef recvfrom 19171579Sdeischen#undef recvmsg 19271579Sdeischen#undef select 193157223Sdes#undef sem_close 194157223Sdes#undef sem_destroy 195157223Sdes#undef sem_getvalue 196157223Sdes#undef sem_init 197157223Sdes#undef sem_open 198157223Sdes#undef sem_post 199157223Sdes#undef sem_timedwait 200157223Sdes#undef sem_trywait 201157223Sdes#undef sem_unlink 202157223Sdes#undef sem_wait 20371579Sdeischen#undef sendmsg 20471579Sdeischen#undef sendto 20571579Sdeischen#undef setsockopt 20671579Sdeischen#undef sigaction 20771579Sdeischen#undef sigprocmask 20871579Sdeischen#undef sigsuspend 20971579Sdeischen#undef socket 21071579Sdeischen#undef socketpair 211148655Sdeischen#undef usleep 21271579Sdeischen#undef wait4 213244175Skib#undef wait6 214108864Stjr#undef waitpid 21571579Sdeischen#undef write 21671579Sdeischen#undef writev 21771579Sdeischen 21871579Sdeischen#if 0 21971579Sdeischen#undef creat 22071579Sdeischen#undef fchflags 22171579Sdeischen#undef fchmod 22271579Sdeischen#undef ftrylockfile 22371579Sdeischen#undef msync 22471579Sdeischen#undef nfssvc 22571579Sdeischen#undef pause 22671579Sdeischen#undef sched_yield 22771579Sdeischen#undef sendfile 22871579Sdeischen#undef shutdown 22971579Sdeischen#undef sigaltstack 23071579Sdeischen#undef sigpending 23171579Sdeischen#undef sigreturn 23271579Sdeischen#undef sigsetmask 23371579Sdeischen#undef sleep 23471579Sdeischen#undef system 23571579Sdeischen#undef tcdrain 23671579Sdeischen#undef wait 23771579Sdeischen#endif /* 0 */ 23871579Sdeischen 23971579Sdeischen#ifdef _SIGNAL_H_ 24071579Sdeischenint _sigaction(int, const struct sigaction *, struct sigaction *); 24171579Sdeischen#endif 24271579Sdeischen 24371579Sdeischen#ifdef _SYS_EVENT_H_ 24471579Sdeischenint _kevent(int, const struct kevent *, int, struct kevent *, 24571579Sdeischen int, const struct timespec *); 24671579Sdeischen#endif 24771579Sdeischen 24871579Sdeischen#ifdef _SYS_FCNTL_H_ 24971579Sdeischenint _flock(int, int); 25071579Sdeischen#endif 25171579Sdeischen 25286250Sbde#undef err 25382496Sbde#undef warn 254113595Snectar#undef nsdispatch 25582496Sbde 25671579Sdeischen#endif /* _UN_NAMESPACE_H_ */ 257