namespace.h (106288) | namespace.h (106866) |
---|---|
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 unchanged lines hidden (view full) --- 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 * | 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 unchanged lines hidden (view full) --- 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/namespace.h 106288 2002-11-01 09:37:17Z dfr $ | 26 * $FreeBSD: head/lib/libc/include/namespace.h 106866 2002-11-13 18:12:09Z deischen $ |
27 */ 28 29#ifndef _NAMESPACE_H_ 30#define _NAMESPACE_H_ 31 32/* 33 * Adjust names so that headers declare "hidden" names. | 27 */ 28 29#ifndef _NAMESPACE_H_ 30#define _NAMESPACE_H_ 31 32/* 33 * Adjust names so that headers declare "hidden" names. |
34 * 35 * README: When modifying this file don't forget to make the appropriate 36 * changes in un-namespace.h!!! |
|
34 */ 35 36/* 37 * ISO C (C90) section. Most names in libc aren't in ISO C, so they 38 * should be here. Most aren't here... 39 */ 40#define err _err 41#define warn _warn --- 29 unchanged lines hidden (view full) --- 71#define getsockname _getsockname 72#define getsockopt _getsockopt 73#define ioctl _ioctl 74/* #define kevent _kevent */ 75#define listen _listen 76#define nanosleep _nanosleep 77#define open _open 78#define poll _poll | 37 */ 38 39/* 40 * ISO C (C90) section. Most names in libc aren't in ISO C, so they 41 * should be here. Most aren't here... 42 */ 43#define err _err 44#define warn _warn --- 29 unchanged lines hidden (view full) --- 74#define getsockname _getsockname 75#define getsockopt _getsockopt 76#define ioctl _ioctl 77/* #define kevent _kevent */ 78#define listen _listen 79#define nanosleep _nanosleep 80#define open _open 81#define poll _poll |
79#define pthread_cond_signal _pthread_cond_signal | |
80#define pthread_cond_broadcast _pthread_cond_broadcast | 82#define pthread_cond_broadcast _pthread_cond_broadcast |
81#define pthread_cond_wait _pthread_cond_wait | 83#define pthread_cond_destroy _pthread_cond_destroy |
82#define pthread_cond_init _pthread_cond_init | 84#define pthread_cond_init _pthread_cond_init |
85#define pthread_cond_signal _pthread_cond_signal 86#define pthread_cond_timedwait _pthread_cond_timedwait 87#define pthread_cond_wait _pthread_cond_wait |
|
83#define pthread_exit _pthread_exit 84#define pthread_getspecific _pthread_getspecific 85#define pthread_key_create _pthread_key_create 86#define pthread_key_delete _pthread_key_delete 87#define pthread_main_np _pthread_main_np 88#define pthread_mutex_destroy _pthread_mutex_destroy 89#define pthread_mutex_init _pthread_mutex_init 90#define pthread_mutex_lock _pthread_mutex_lock 91#define pthread_mutex_trylock _pthread_mutex_trylock 92#define pthread_mutex_unlock _pthread_mutex_unlock | 88#define pthread_exit _pthread_exit 89#define pthread_getspecific _pthread_getspecific 90#define pthread_key_create _pthread_key_create 91#define pthread_key_delete _pthread_key_delete 92#define pthread_main_np _pthread_main_np 93#define pthread_mutex_destroy _pthread_mutex_destroy 94#define pthread_mutex_init _pthread_mutex_init 95#define pthread_mutex_lock _pthread_mutex_lock 96#define pthread_mutex_trylock _pthread_mutex_trylock 97#define pthread_mutex_unlock _pthread_mutex_unlock |
93#define pthread_mutexattr_init _pthread_mutexattr_init | |
94#define pthread_mutexattr_destroy _pthread_mutexattr_destroy | 98#define pthread_mutexattr_destroy _pthread_mutexattr_destroy |
99#define pthread_mutexattr_init _pthread_mutexattr_init |
|
95#define pthread_mutexattr_settype _pthread_mutexattr_settype 96#define pthread_once _pthread_once | 100#define pthread_mutexattr_settype _pthread_mutexattr_settype 101#define pthread_once _pthread_once |
102#define pthread_rwlock_destroy _pthread_rwlock_destroy |
|
97#define pthread_rwlock_init _pthread_rwlock_init 98#define pthread_rwlock_rdlock _pthread_rwlock_rdlock 99#define pthread_rwlock_wrlock _pthread_rwlock_wrlock | 103#define pthread_rwlock_init _pthread_rwlock_init 104#define pthread_rwlock_rdlock _pthread_rwlock_rdlock 105#define pthread_rwlock_wrlock _pthread_rwlock_wrlock |
106#define pthread_rwlock_tryrdlock _pthread_rwlock_tryrdlock 107#define pthread_rwlock_trywrlock _pthread_rwlock_trywrlock |
|
100#define pthread_rwlock_unlock _pthread_rwlock_unlock 101#define pthread_self _pthread_self 102#define pthread_setspecific _pthread_setspecific 103#define pthread_sigmask _pthread_sigmask 104#define read _read 105#define readv _readv 106#define recvfrom _recvfrom 107#define recvmsg _recvmsg --- 22 unchanged lines hidden (view full) --- 130#define creat _creat 131#define fchflags _fchflags 132#define fchmod _fchmod 133#define fpathconf _fpathconf 134#define ftrylockfile _ftrylockfile 135#define msync _msync 136#define nfssvc _nfssvc 137#define pause _pause | 108#define pthread_rwlock_unlock _pthread_rwlock_unlock 109#define pthread_self _pthread_self 110#define pthread_setspecific _pthread_setspecific 111#define pthread_sigmask _pthread_sigmask 112#define read _read 113#define readv _readv 114#define recvfrom _recvfrom 115#define recvmsg _recvmsg --- 22 unchanged lines hidden (view full) --- 138#define creat _creat 139#define fchflags _fchflags 140#define fchmod _fchmod 141#define fpathconf _fpathconf 142#define ftrylockfile _ftrylockfile 143#define msync _msync 144#define nfssvc _nfssvc 145#define pause _pause |
138#define pthread_rwlock_destroy _pthread_rwlock_destroy 139#define pthread_rwlock_tryrdlock _pthread_rwlock_tryrdlock 140#define pthread_rwlock_trywrlock _pthread_rwlock_trywrlock | |
141#define pthread_rwlockattr_init _pthread_rwlockattr_init 142#define pthread_rwlockattr_destroy _pthread_rwlockattr_destroy 143#define sched_yield _sched_yield 144#define sendfile _sendfile 145#define shutdown _shutdown 146#define sigaltstack _sigaltstack 147#define sigpending _sigpending 148#define sigreturn _sigreturn 149#define sigsetmask _sigsetmask 150#define sleep _sleep 151#define system _system 152#define tcdrain _tcdrain 153#define wait _wait 154#define waitpid _waitpid 155#endif 156 157#endif /* _NAMESPACE_H_ */ | 146#define pthread_rwlockattr_init _pthread_rwlockattr_init 147#define pthread_rwlockattr_destroy _pthread_rwlockattr_destroy 148#define sched_yield _sched_yield 149#define sendfile _sendfile 150#define shutdown _shutdown 151#define sigaltstack _sigaltstack 152#define sigpending _sigpending 153#define sigreturn _sigreturn 154#define sigsetmask _sigsetmask 155#define sleep _sleep 156#define system _system 157#define tcdrain _tcdrain 158#define wait _wait 159#define waitpid _waitpid 160#endif 161 162#endif /* _NAMESPACE_H_ */ |