c_synonyms.h revision 7c4dcc5546f9f002dfc2b95de47c90f00d07c066
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* This file is included in library source files (other than libc) when it
* is desired to call libc functions by their restricted names rather than
* by their public names, to avoid a namespace collision with applications.
*/
#ifndef _COMMON_INC_SYNONYMS_H
#define _COMMON_INC_SYNONYMS_H
#pragma ident "%Z%%M% %I% %E% SMI"
#include <sys/feature_tests.h>
#ifdef __cplusplus
extern "C" {
#endif
#if !defined(__lint)
/* external data */
/* functions */
#define addseverity _addseverity
#define alphasort64 _alphasort64
#define alphasort _alphasort
#define asctime_r _asctime_r
#define _assert_c99 __assert_c99
#define atomic_add_16 _atomic_add_16
#define atomic_add_16_nv _atomic_add_16_nv
#define atomic_add_32 _atomic_add_32
#define atomic_add_32_nv _atomic_add_32_nv
#define atomic_add_64 _atomic_add_64
#define atomic_add_64_nv _atomic_add_64_nv
#define atomic_add_8 _atomic_add_8
#define atomic_add_8_nv _atomic_add_8_nv
#define atomic_add_char _atomic_add_char
#define atomic_add_int _atomic_add_int
#define atomic_add_int_nv _atomic_add_int_nv
#define atomic_add_long _atomic_add_long
#define atomic_add_ptr _atomic_add_ptr
#define atomic_add_ptr_nv _atomic_add_ptr_nv
#define atomic_add_short _atomic_add_short
#define atomic_and_16 _atomic_and_16
#define atomic_and_16_nv _atomic_and_16_nv
#define atomic_and_32 _atomic_and_32
#define atomic_and_32_nv _atomic_and_32_nv
#define atomic_and_64 _atomic_and_64
#define atomic_and_64_nv _atomic_and_64_nv
#define atomic_and_8 _atomic_and_8
#define atomic_and_8_nv _atomic_and_8_nv
#define atomic_and_uchar _atomic_and_uchar
#define atomic_and_uint _atomic_and_uint
#define atomic_and_ulong _atomic_and_ulong
#define atomic_and_ushort _atomic_and_ushort
#define atomic_cas_16 _atomic_cas_16
#define atomic_cas_32 _atomic_cas_32
#define atomic_cas_64 _atomic_cas_64
#define atomic_cas_8 _atomic_cas_8
#define atomic_cas_ptr _atomic_cas_ptr
#define atomic_cas_uchar _atomic_cas_uchar
#define atomic_cas_uint _atomic_cas_uint
#define atomic_cas_ulong _atomic_cas_ulong
#define atomic_cas_ushort _atomic_cas_ushort
#define atomic_dec_16 _atomic_dec_16
#define atomic_dec_16_nv _atomic_dec_16_nv
#define atomic_dec_32 _atomic_dec_32
#define atomic_dec_32_nv _atomic_dec_32_nv
#define atomic_dec_64 _atomic_dec_64
#define atomic_dec_64_nv _atomic_dec_64_nv
#define atomic_dec_8 _atomic_dec_8
#define atomic_dec_8_nv _atomic_dec_8_nv
#define atomic_dec_uchar _atomic_dec_uchar
#define atomic_dec_uint _atomic_dec_uint
#define atomic_dec_ulong _atomic_dec_ulong
#define atomic_dec_ushort _atomic_dec_ushort
#define atomic_inc_16 _atomic_inc_16
#define atomic_inc_16_nv _atomic_inc_16_nv
#define atomic_inc_32 _atomic_inc_32
#define atomic_inc_32_nv _atomic_inc_32_nv
#define atomic_inc_64 _atomic_inc_64
#define atomic_inc_64_nv _atomic_inc_64_nv
#define atomic_inc_8 _atomic_inc_8
#define atomic_inc_8_nv _atomic_inc_8_nv
#define atomic_inc_uchar _atomic_inc_uchar
#define atomic_inc_uint _atomic_inc_uint
#define atomic_inc_ulong _atomic_inc_ulong
#define atomic_inc_ushort _atomic_inc_ushort
#define atomic_or_16 _atomic_or_16
#define atomic_or_16_nv _atomic_or_16_nv
#define atomic_or_32 _atomic_or_32
#define atomic_or_32_nv _atomic_or_32_nv
#define atomic_or_64 _atomic_or_64
#define atomic_or_64_nv _atomic_or_64_nv
#define atomic_or_8 _atomic_or_8
#define atomic_or_8_nv _atomic_or_8_nv
#define atomic_or_uchar _atomic_or_uchar
#define atomic_or_uint _atomic_or_uint
#define atomic_or_uint_nv _atomic_or_uint_nv
#define atomic_or_ulong _atomic_or_ulong
#define atomic_or_ushort _atomic_or_ushort
#define atomic_swap_16 _atomic_swap_16
#define atomic_swap_32 _atomic_swap_32
#define atomic_swap_64 _atomic_swap_64
#define atomic_swap_8 _atomic_swap_8
#define atomic_swap_ptr _atomic_swap_ptr
#define atomic_swap_uchar _atomic_swap_uchar
#define atomic_swap_uint _atomic_swap_uint
#define atomic_swap_ulong _atomic_swap_ulong
#define cfgetispeed _cfgetispeed
#define cfgetospeed _cfgetospeed
#define cfsetispeed _cfsetispeed
#define cfsetospeed _cfsetospeed
#define closefrom _closefrom
#define cond_broadcast _cond_broadcast
#define cond_destroy _cond_destroy
#define cond_init _cond_init
#define cond_reltimedwait _cond_reltimedwait
#define cond_signal _cond_signal
#define cond_timedwait _cond_timedwait
#define cond_wait _cond_wait
#define core_get_options _core_get_options
#define core_set_options _core_set_options
#define ctermid_r _ctermid_r
#define decimal_to_double _decimal_to_double
#define decimal_to_single _decimal_to_single
#define dlamd64getunwind _dlamd64getunwind
#define door_bind _door_bind
#define door_call _door_call
#define door_create _door_create
#define door_cred _door_cred
#define door_getparam _door_getparam
#define door_info _door_info
#define door_return _door_return
#define door_revoke _door_revoke
#define door_setparam _door_setparam
#define door_ucred _door_ucred
#define door_unbind _door_unbind
#define double_to_decimal _double_to_decimal
#define endutxent _endutxent
#define fdopendir _fdopendir
#define fgetgrent _fgetgrent
#define fgetgrent_r _fgetgrent_r
#define fgetpwent _fgetpwent
#define fgetpwent_r _fgetpwent_r
#define fgetspent _fgetspent
#define fgetspent_r _fgetspent_r
#define file_to_decimal _file_to_decimal
#define flockfile _flockfile
#define fpathconf _fpathconf
#define fpgetmask _fpgetmask
#define fpgetround _fpgetround
#define fpgetsticky _fpgetsticky
#define fpsetmask _fpsetmask
#define fpsetround _fpsetround
#define fpsetsticky _fpsetsticky
#define ftruncate _ftruncate
#define ftrylockfile _ftrylockfile
#define func_to_decimal _func_to_decimal
#define funlockfile _funlockfile
#define futimesat _futimesat
#define getcontext _getcontext
#define getexecname _getexecname
#define getgrent_r _getgrent_r
#define getgrgid_r _getgrgid_r
#define getgrnam_r _getgrnam_r
#define getgroups _getgroups
#define gethomelgroup _gethomelgroup
#define getitimer _getitimer
#define getlogin_r _getlogin_r
#define getmntany _getmntany
#define getmntent _getmntent
#define getopt_clip _getopt_clip
#define getopt_long _getopt_long
#define getopt_long_only _getopt_long_only
#define getpeerucred _getpeerucred
#define getpflags _getpflags
#define getprivimplinfo _getprivimplinfo
#define getprojid _getprojid
#define getpwent_r _getpwent_r
#define getpwnam_r _getpwnam_r
#define getpwuid_r _getpwuid_r
#define getrlimit _getrlimit
#define getspent_r _getspent_r
#define getspnam_r _getspnam_r
#define getsubopt _getsubopt
#define gettaskid _gettaskid
#define gettimeofday _gettimeofday
#define getustack _getustack
#define getutline _getutline
#define getutxent _getutxent
#define getutxline _getutxline
#define getvfsany _getvfsany
#define getvfsent _getvfsent
#define getvfsfile _getvfsfile
#define getvfsspec _getvfsspec
#define getzoneidbyname _getzoneidbyname
#define getzoneid _getzoneid
#define getzonenamebyid _getzonenamebyid
#define hasmntopt _hasmntopt
#define iconv_close _iconv_close
#define iconv_open _iconv_open
#define initgroups _initgroups
#define install_utrap _install_utrap
#define inst_sync _inst_sync
#define isastream _isastream
#define issetugid _issetugid
#define localtime_r _localtime_r
#define _lwp_cond_signal __lwp_cond_signal
#define _lwp_cond_wait __lwp_cond_wait
#define _lwp_continue __lwp_continue
#define _lwp_info __lwp_info
#define _lwp_kill __lwp_kill
#define _lwp_mutex_lock __lwp_mutex_lock
#define _lwp_mutex_unlock __lwp_mutex_unlock
#define _lwp_self __lwp_self
#define _lwp_sema_init __lwp_sema_init
#define _lwp_sema_post __lwp_sema_post
#define _lwp_sema_trywait __lwp_sema_trywait
#define _lwp_sema_wait __lwp_sema_wait
#define _lwp_suspend __lwp_suspend
#define makecontext _makecontext
#define membar_consumer _membar_consumer
#define membar_enter _membar_enter
#define membar_exit _membar_exit
#define membar_producer _membar_producer
#define munlockall _munlockall
#define _mutex_destroy __mutex_destroy
#define mutex_destroy __mutex_destroy
#define _mutex_held __mutex_held
#define mutex_held __mutex_held
#define _mutex_init __mutex_init
#define mutex_init __mutex_init
#define _mutex_lock __mutex_lock
#define mutex_lock __mutex_lock
#define _mutex_trylock __mutex_trylock
#define mutex_trylock __mutex_trylock
#define _mutex_unlock __mutex_unlock
#define mutex_unlock __mutex_unlock
#define nfs_getfh _nfs_getfh
#define nl_langinfo _nl_langinfo
#define nss_delete _nss_delete
#define nss_endent _nss_endent
#define nss_getent _nss_getent
#define nss_search _nss_search
#define nss_setent _nss_setent
#define ntp_adjtime _ntp_adjtime
#define ntp_gettime _ntp_gettime
#define port_alert _port_alert
#define port_associate _port_associate
#define port_create _port_create
#define port_dispatch _port_dispatch
#define port_dissociate _port_dissociate
#define port_getn _port_getn
#define port_sendn _port_sendn
#define port_send _port_send
#define posix_openpt _posix_openpt
#define posix_spawn _posix_spawn
#define posix_spawnp _posix_spawnp
#define printstack _printstack
#define priv_addset _priv_addset
#define priv_allocset _priv_allocset
#define priv_copyset _priv_copyset
#define priv_delset _priv_delset
#define priv_emptyset _priv_emptyset
#define priv_fillset _priv_fillset
#define priv_freeset _priv_freeset
#define priv_getbyname _priv_getbyname
#define priv_getbynum _priv_getbynum
#define priv_getsetbyname _priv_getsetbyname
#define priv_getsetbynum _priv_getsetbynum
#define priv_gettext _priv_gettext
#define priv_ineffect _priv_ineffect
#define priv_intersect _priv_intersect
#define priv_inverse _priv_inverse
#define priv_isemptyset _priv_isemptyset
#define priv_isequalset _priv_isequalset
#define priv_isfullset _priv_isfullset
#define priv_ismember _priv_ismember
#define priv_issubset _priv_issubset
#define priv_set_to_str _priv_set_to_str
#define priv_str_to_set _priv_str_to_set
#define priv_union _priv_union
#define pthread_atfork _pthread_atfork
#define pthread_attr_init _pthread_attr_init
#define pthread_cancel _pthread_cancel
#define pthread_cond_init _pthread_cond_init
#define pthread_cond_wait _pthread_cond_wait
#define pthread_create _pthread_create
#define pthread_detach _pthread_detach
#define pthread_equal _pthread_equal
#define pthread_exit _pthread_exit
#define pthread_join _pthread_join
#define pthread_kill _pthread_kill
#define pthread_once _pthread_once
#define pthread_self _pthread_self
#define pthread_sigmask _pthread_sigmask
#define pthread_spin_init _pthread_spin_init
#define pthread_spin_lock _pthread_spin_lock
#define pututline _pututline
#define pututxline _pututxline
#define qeconvert _qeconvert
#define qfconvert _qfconvert
#define qgconvert _qgconvert
#define readdir_r _readdir_r
#define resolvepath _resolvepath
#define rwlock_destroy _rwlock_destroy
#define rwlock_init _rwlock_init
#define rw_rdlock _rw_rdlock
#define rw_read_held _rw_read_held
#define rw_tryrdlock _rw_tryrdlock
#define rw_trywrlock _rw_trywrlock
#define rw_unlock _rw_unlock
#define rw_write_held _rw_write_held
#define rw_wrlock _rw_wrlock
#define scandir64 _scandir64
#define schedctl_exit _schedctl_exit
#define schedctl_init _schedctl_init
#define schedctl_lookup _schedctl_lookup
#define seconvert _seconvert
#define sema_destroy _sema_destroy
#define sema_held _sema_held
#define sema_init _sema_init
#define sema_post _sema_post
#define sema_reltimedwait _sema_reltimedwait
#define sema_timedwait _sema_timedwait
#define sema_trywait _sema_trywait
#define sema_wait _sema_wait
#define semtimedop _semtimedop
#define setcontext _setcontext
#define setgroups _setgroups
#define setitimer _setitimer
#define setlogmask _setlogmask
#define setpflags _setpflags
#define setrlimit _setrlimit
#define settaskid _settaskid
#define settimeofday _settimeofday
#define setustack _setustack
#define setutxent _setutxent
#define sfconvert _sfconvert
#define sgconvert _sgconvert
#define sigaction _sigaction
#define sigaddset _sigaddset
#define sigaltstack _sigaltstack
#define sigdelset _sigdelset
#define sigemptyset _sigemptyset
#define sigfillset _sigfillset
#define sigignore _sigignore
#define siginterrupt _siginterrupt
#define sigismember _sigismember
#define siglongjmp _siglongjmp
#define sigpending _sigpending
#define sigprocmask _sigprocmask
#define sigsendset _sigsendset
#define sigsetjmp _sigsetjmp
#define sigsuspend _sigsuspend
#define single_to_decimal _single_to_decimal
#define stack_getbounds _stack_getbounds
#define stack_inbounds _stack_inbounds
#define stack_setbounds _stack_setbounds
#define stack_violation _stack_violation
#define strerror_r _strerror_r
#define string_to_decimal _string_to_decimal
#define strsignal _strsignal
#define swapcontext _swapcontext
#define tcgetattr _tcgetattr
#define tcgetpgrp _tcgetpgrp
#define tcsendbreak _tcsendbreak
#define tcsetattr _tcsetattr
#define tcsetpgrp _tcsetpgrp
#define thr_continue _thr_continue
#define thr_create _thr_create
#define thr_getprio _thr_getprio
#define thr_getspecific _thr_getspecific
#define thr_getstate _thr_getstate
#define thr_keycreate _thr_keycreate
#define thr_min_stack _thr_min_stack
#define thr_setmutator _thr_setmutator
#define thr_setprio _thr_setprio
#define thr_setspecific _thr_setspecific
#define thr_setstate _thr_setstate
#define thr_sighndlrinfo _thr_sighndlrinfo
#define thr_sigsetmask _thr_sigsetmask
#define thr_stksegment _thr_stksegment
#define thr_suspend _thr_suspend
#define thr_wait_mutator _thr_wait_mutator
#define thr_yield _thr_yield
#define ttyname_r _ttyname_r
#define ucred_free _ucred_free
#define ucred_getamask _ucred_getamask
#define ucred_getasid _ucred_getasid
#define ucred_getatid _ucred_getatid
#define ucred_getauid _ucred_getauid
#define ucred_getegid _ucred_getegid
#define ucred_geteuid _ucred_geteuid
#define ucred_getgroups _ucred_getgroups
#define ucred_getpflags _ucred_getpflags
#define ucred_getpid _ucred_getpid
#define ucred_getprivset _ucred_getprivset
#define ucred_getprojid _ucred_getprojid
#define ucred_getrgid _ucred_getrgid
#define ucred_getruid _ucred_getruid
#define ucred_getsgid _ucred_getsgid
#define ucred_getsuid _ucred_getsuid
#define ucred_get _ucred_get
#define ucred_getzoneid _ucred_getzoneid
#define ucred_size _ucred_size
#define unordered _unordered
#define utmpxname _utmpxname
#define walkcontext _walkcontext
/* accommodation for _*xstat() and _nuname() interfaces */
#endif
#if !defined(__i386)
#endif
/* transitional large file and other 32-bit only interfaces */
#if !defined(_LP64)
#define attropen64 _attropen64
#define fstatat64 _fstatat64
#define fstatvfs64 _fstatvfs64
#define ftruncate64 _ftruncate64
#define getdents64 _getdents64
#define getrlimit64 _getrlimit64
#define mkstemp64 _mkstemp64
#define readdir64 _readdir64
#define readdir64_r _readdir64_r
#define setrlimit64 _setrlimit64
#define statvfs64 _statvfs64
#define truncate64 _truncate64
#define sys_errlist _sys_errlist
#endif /* !_LP64 */
/* 64-bit only interfaces */
#if defined(_LP64)
#define getc_unlocked _getc_unlocked
#define putc_unlocked _putc_unlocked
#endif /* _LP64 */
#endif /* !defined(__lint) */
#ifdef __cplusplus
}
#endif
#endif /* _COMMON_INC_SYNONYMS_H */