synonyms.h revision 1f8cf95fd900139727f8fc7f4486b52297c915d2
/*
* 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 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
#ifndef _LIBC_SYNONYMS_H
#define _LIBC_SYNONYMS_H
#pragma ident "%Z%%M% %I% %E% SMI"
#include <sys/feature_tests.h>
#ifdef __cplusplus
extern "C" {
#endif
#if !defined(__lint)
#if !defined(_LP64)
/* transitional large file interfaces */
#define alphasort64 _alphasort64
#define attropen64 _attropen64
#define fstatvfs64 _fstatvfs64
#define ftruncate64 _ftruncate64
#define getdents64 _getdents64
#define getrlimit64 _getrlimit64
#define mkstemp64 _mkstemp64
#define mkstemps64 _mkstemps64
#define readdir64 _readdir64
#define readdir64_r _readdir64_r
#define scandir64 _scandir64
#define seekdir64 _seekdir64
#define telldir64 _telldir64
#define setrlimit64 _setrlimit64
#define fstatat64 _fstatat64
#define statvfs64 _statvfs64
#define truncate64 _truncate64
#endif /* !_LP64 */
/* external data */
/* functions */
#define addseverity _addseverity
#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 bindtextdomain _bindtextdomain
#define bsd_signal _bsd_signal
#define cfgetispeed _cfgetispeed
#define cfgetospeed _cfgetospeed
#define cfsetispeed _cfsetispeed
#define cfsetospeed _cfsetospeed
#define clock_getres _clock_getres
#define clock_gettime _clock_gettime
#define clock_nanosleep _clock_nanosleep
#define clock_settime _clock_settime
#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 countbase _countbase
#define ctermid_r _ctermid_r
#define dcgettext _dcgettext
#define dcngettext _dcngettext
#define decimal_to_double _decimal_to_double
#define decimal_to_single _decimal_to_single
#define dlamd64getunwind _dlamd64getunwind
#define dngettext _dngettext
#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 fdatasync _fdatasync
#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 getdate_err _getdate_err
#define getexecname _getexecname
#define getextmntent _getextmntent
#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 getloadavg _getloadavg
#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 getpagesizes _getpagesizes
#define getpassphrase _getpassphrase
#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 isenglish _isenglish
#define isideogram _isideogram
#define isphonogram _isphonogram
#define issetugid _issetugid
#define isspecial _isspecial
#define is_system_labeled _is_system_labeled
#define iswctype __iswctype
#define iswxdigit _iswxdigit
#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_private __lwp_private
#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 __makecontext_v2 ___makecontext_v2
#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_consistent __mutex_consistent
#define mutex_consistent __mutex_consistent
#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 nanosleep _nanosleep
#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_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 pset_assign _pset_assign
#define pset_bind _pset_bind
#define pset_create _pset_create
#define pset_destroy _pset_destroy
#define pset_getattr _pset_getattr
#define pset_getloadavg _pset_getloadavg
#define pset_info _pset_info
#define pset_list _pset_list
#define pset_setattr _pset_setattr
#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 resetmnttab _resetmnttab
#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 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 sem_close _sem_close
#define sem_destroy _sem_destroy
#define sem_getvalue _sem_getvalue
#define semtimedop _semtimedop
#define sem_timedwait _sem_timedwait
#define sem_trywait _sem_trywait
#define sem_unlink _sem_unlink
#define setcontext _setcontext
#define setgroups _setgroups
#define setitimer _setitimer
#define setlocale _setlocale
#define setlogmask _setlogmask
#define setpflags _setpflags
#define setprojrctl _setprojrctl
#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 sigtimedwait _sigtimedwait
#define sigwaitinfo _sigwaitinfo
#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 swapcontext _swapcontext
#define synchutmp _synchutmp
#define sys_errlist _sys_errlist
#define __systemcall __systemcall6
#define tcgetattr _tcgetattr
#define tcgetpgrp _tcgetpgrp
#define tcsendbreak _tcsendbreak
#define tcsetattr _tcsetattr
#define tcsetpgrp _tcsetpgrp
#define textdomain _textdomain
#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 timer_create _timer_create
#define timer_delete _timer_delete
#define timer_getoverrun _timer_getoverrun
#define timer_gettime _timer_gettime
#define timer_settime _timer_settime
#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_getlabel _ucred_getlabel
#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 updutfile _updutfile
#define updutxfile _updutxfile
#define utmpxname _utmpxname
#define uucopystr _uucopystr
#define walkcontext _walkcontext
#define wscasecmp _wscasecmp
#define wsncasecmp _wsncasecmp
/* unwind stuff (amd64 only) */
#if defined(__amd64)
#define _Unwind_GetCFA _SUNW_Unwind_GetCFA
#define _Unwind_GetGR _SUNW_Unwind_GetGR
#define _Unwind_GetIP _SUNW_Unwind_GetIP
#define _Unwind_Resume _SUNW_Unwind_Resume
#define _Unwind_SetGR _SUNW_Unwind_SetGR
#define _Unwind_SetIP _SUNW_Unwind_SetIP
#endif /* __amd64 */
#endif /* !defined(__lint) */
/*
* Almost all libc source files have to include lint.h
* We do it here for the benefit of files already including synonyms.h
*/
#include "lint.h"
#ifdef __cplusplus
}
#endif
#endif /* _LIBC_SYNONYMS_H */