Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
synonyms.h
Go to the documentation of this file.
00001 /* USMID @(#)92/include/synonyms.h      92.2    06/08/99 10:44:16 */
00002 
00003 
00004 /*
00005 
00006   Copyright (C) 2000, 2001 Silicon Graphics, Inc.  All Rights Reserved.
00007 
00008   This program is free software; you can redistribute it and/or modify it
00009   under the terms of version 2 of the GNU General Public License as
00010   published by the Free Software Foundation.
00011 
00012   This program is distributed in the hope that it would be useful, but
00013   WITHOUT ANY WARRANTY; without even the implied warranty of
00014   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
00015 
00016   Further, this software is distributed without any warranty that it is
00017   free of the rightful claim of any third person regarding infringement 
00018   or the like.  Any license provided herein, whether implied or 
00019   otherwise, applies only to this software file.  Patent licenses, if 
00020   any, provided herein do not apply to combinations of this program with 
00021   other software, or any other product whatsoever.  
00022 
00023   You should have received a copy of the GNU General Public License along
00024   with this program; if not, write the Free Software Foundation, Inc., 59
00025   Temple Place - Suite 330, Boston MA 02111-1307, USA.
00026 
00027   Contact information:  Silicon Graphics, Inc., 1600 Amphitheatre Pky,
00028   Mountain View, CA 94043, or:
00029 
00030   http://www.sgi.com
00031 
00032   For further information regarding this notice, see:
00033 
00034   http://oss.sgi.com/projects/GenInfo/NoticeExplan
00035 
00036 */
00037 
00038 /*
00039  * This file is used to build an ANSI-C compatible version of libc.
00040  * Basically, it allows us to enforce the rule that ANSI C routines
00041  * cannot reference other non-ANSI routines or global data that is
00042  * in the user's namespace (e.g fopen() cannot call open()).
00043  */
00044 
00045 /* external data */
00046 #define _iob            __iob
00047 #define endcp           _endcp
00048 #define environ         _environ
00049 #ifndef _CRAYMPP
00050 #define altzone         _altzone
00051 #define daylight        _daylight
00052 #define sys_errlist     _sys_errlist
00053 /* #define sys_nerr     _sys_nerr : replaced by strerror() */
00054 #define timezone        _timezone
00055 #define tzname          _tzname
00056 #endif
00057 
00058 /* functions */
00059 #define _assert         __assert
00060 #define _filbuf         __filbuf
00061 #define _flsbuf         __flsbuf
00062 #define access          _access
00063 #define atabort         _atabort
00064 #define brk             _brk
00065 #define close           _close
00066 #define ecvt            _ecvt
00067 #define execl           _execl
00068 #define execve          _execve
00069 #define fcvt            _fcvt
00070 #define fork            _fork
00071 #define fstat           _fstat
00072 #define getgid          _getgid
00073 #define getpid          _getpid
00074 #define getppid         _getppid
00075 #define getuid          _getuid
00076 #define isatty          _isatty
00077 #define ioctl           _ioctl
00078 #define killm           _killm
00079 #define lseek           _lseek
00080 #define memccpy         _memccpy
00081 #define memwcpy         _memwcpy
00082 #define memwset         _memwset
00083 #define mktemp          _mktemp
00084 #define open            _open
00085 #define read            _read
00086 #define sbreak          _sbreak
00087 #define sigaction       _sigaction
00088 #define sigaddset       _sigaddset
00089 #define sigdelset       _sigdelset
00090 #define sigemptyset     _sigemptyset
00091 #define sigfillset      _sigfillset
00092 #define sigismember     _sigismember
00093 #define sigoff          _Sigoff
00094 #define sigon           _Sigon
00095 #define sigprocmask     _sigprocmask
00096 #define stat            _stat
00097 #define strdup          _strdup
00098 #define syscall         _syscall
00099 #define sysconf         _sysconf
00100 #define target          _target
00101 #define tempnam         _tempnam
00102 #define times           _times
00103 #define tracebk         _tracebk
00104 #define unlink          _unlink
00105 #define vfork           _vfork
00106 #define waitpid         _waitpid
00107 #define write           _write
00108 #ifdef _CRAYMPP
00109 #define barrier         _barrier
00110 #endif
00111 
00112 /* libm functions */
00113 #if defined(_CRAY1) || defined(_CRAYMPP)
00114 #define ACOS            _ACOS_
00115 #define ASIN            _ASIN_
00116 #define ATAN            _ATAN_
00117 #define ATAN2           _ATAN2_
00118 #define CABS            _CABS_
00119 #define CCOS            _CCOS_
00120 #define CEXP            _CEXP_
00121 #define CLOG            _CLOG_
00122 #define CSIN            _CSIN_
00123 #define CSQRT           _CSQRT_
00124 #define COS             _COS_
00125 #define COSH            _COSH_
00126 #define DABS            _DABS_
00127 #define DACOS           _DACOS_
00128 #define DASIN           _DASIN_
00129 #define DATAN2          _DATAN2_
00130 #define DATAN           _DATAN_
00131 #define DCOS            _DCOS_
00132 #define DCOSH           _DCOSH_
00133 #define DEXP            _DEXP_
00134 #define DINT            _DINT_
00135 #define DLOG            _DLOG_
00136 #define DLOG10          _DLOG10_
00137 #define DMOD            _DMOD_
00138 #define DSIN            _DSIN_
00139 #define DSINH           _DSINH_
00140 #define DSQRT           _DSQRT_
00141 #define DTANH           _DTANH_
00142 #define DTAN            _DTAN_
00143 #define EXP             _EXP_
00144 #define AMOD            _AMOD_
00145 #define ALOG            _ALOG_
00146 #define ALOG10          _ALOG10_
00147 #define SIN             _SIN_
00148 #define SINH            _SINH_
00149 #define SQRT            _SQRT_
00150 #define TAN             _TAN_
00151 #define TANH            _TANH_
00152 #endif
00153 
00154 /* half-precision libm functions */
00155 #ifdef  _CRAYMPP
00156 #define HACOS           $HACOS
00157 #define HASIN           $HASIN
00158 #define HATAN           $HATAN
00159 #define HATAN2          $HATAN2
00160 #define HCOS            $HCOS
00161 #define HCOSH           $HCOSH
00162 #define HEXP            $HEXP
00163 #define HABS            $HABS
00164 #define HINT            $HINT
00165 #define HMOD            $HMOD
00166 #define HLOG            $HLOG
00167 #define HLOG10          $HLOG10
00168 #define HSIN            $HSIN
00169 #define HSINH           $HSINH
00170 #define HSQRT           $HSQRT
00171 #define HTAN            $HTAN
00172 #define HTANH           $HTANH
00173 #endif
00174 
00175 #ifdef __STDC__
00176 
00177 typedef void VOID;
00178 
00179 #else
00180 
00181 typedef char VOID;
00182 #define const
00183 
00184 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines