Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
f_errno.h
Go to the documentation of this file.
00001 /*
00002 
00003   Copyright (C) 2000, 2001 Silicon Graphics, Inc.  All Rights Reserved.
00004 
00005   This program is free software; you can redistribute it and/or modify it
00006   under the terms of version 2 of the GNU General Public License as
00007   published by the Free Software Foundation.
00008 
00009   This program is distributed in the hope that it would be useful, but
00010   WITHOUT ANY WARRANTY; without even the implied warranty of
00011   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
00012 
00013   Further, this software is distributed without any warranty that it is
00014   free of the rightful claim of any third person regarding infringement 
00015   or the like.  Any license provided herein, whether implied or 
00016   otherwise, applies only to this software file.  Patent licenses, if 
00017   any, provided herein do not apply to combinations of this program with 
00018   other software, or any other product whatsoever.  
00019 
00020   You should have received a copy of the GNU General Public License along
00021   with this program; if not, write the Free Software Foundation, Inc., 59
00022   Temple Place - Suite 330, Boston MA 02111-1307, USA.
00023 
00024   Contact information:  Silicon Graphics, Inc., 1600 Amphitheatre Pky,
00025   Mountain View, CA 94043, or:
00026 
00027   http://www.sgi.com
00028 
00029   For further information regarding this notice, see:
00030 
00031   http://oss.sgi.com/projects/GenInfo/NoticeExplan
00032 
00033 */
00034 
00035 
00036 /* $Header: /m_home/m_utkej/Argonne/cvs2svn/cvs/Open64/osprey1.0/include/cmplrs/f_errno.h,v 1.1.1.1 2002-05-22 20:09:05 dsystem Exp $ */
00037 /*
00038  *
00039  * f77 I/O error definitions
00040  */
00041 
00042 #include        <errno.h>
00043 
00044 extern int errno;
00045 
00046 #define F_ER            100     /* base offset of f77 error numbers */
00047 
00048 #define F_ERFMT         100     /* error in format */
00049 #define F_ERUNIT        101     /* illegal unit number */
00050 #define F_ERNOFIO       102     /* formatted io not allowed */
00051 #define F_ERNOUIO       103     /* unformatted io not allowed */
00052 #define F_ERNODIO       104     /* direct io not allowed */
00053 #define F_ERNOBKSP      106     /* can't backspace file */
00054 #define F_ERNFILE       107     /* null file name */
00055 #define F_ERDUPOPEN     109     /* file has been opened as different unit */
00056 #define F_EREREC        110     /* off end of record */
00057 #define F_ERTRUNC       111     /* truncation failed */
00058 #define F_ERLIO         112     /* incomprehensible list input */
00059 #define F_ERSPACE       113     /* out of free space */
00060 #define F_ERNOPEN       114     /* unit not connected */
00061 #define F_ERRDCHR       115     /* read unexpected character */
00062 #define F_ERLOGIF       116     /* blank logical input field */
00063 #define F_ERBVT         117     /* bad variable type in namelist*/
00064 #define F_ERNLN         118     /* bad namelist name */
00065 #define F_ERVNL         119     /* variable not in namelist */
00066 #define F_ERNER         120     /* no end record */
00067 #define F_ERNSR         121     /* namelist subscript out of range */
00068 #define F_ERNREP        122     /* negative repeat count */
00069 #define F_ERILLOP       123     /* illegal operation for channel or device */
00070 #define F_ERBREC      124     /* off beginning of record */
00071 #define F_ERREPT        125     /* no * after repeat count */
00072 #define F_ERNEWF        126     /* 'new' file exists */
00073 #define F_EROLDF        127     /* can't find 'old' file */
00074 #define F_ERARG         130     /* illegal argument */
00075 #define F_ERDUPKEY      131     /* duplicate key value on write */
00076 #define F_ERIDXNOTOPEN  132     /* indexed file not open */
00077 #define F_ERISAMARG     133     /* bad isam argument */
00078 #define F_ERBADKEY      134     /* bad key description */
00079 #define F_ERIDXFILES    135     /* too many open indexed files */
00080 #define F_ERBADISAM     136     /* corrupted isam file */
00081 #define F_ERISAMNOTEXCL 137     /* isam file not opened for exclusive access */
00082 #define F_ERLOCKED      138     /* record locked */
00083 #define F_ERKEYEXISTS   139     /* key already exists */
00084 #define F_ERDELKEY      140     /* cannot delete primary key */
00085 #define F_ERBOFEOF      141     /* beginning or end of file reached */
00086 #define F_ERNOREC       142     /* cannot find requested record */
00087 #define F_ERUNDREC      143     /* current record not defined */
00088 #define F_ERISAMEXCL    144     /* isam file is exclusively locked */
00089 #define F_ERFNAME       145     /* filename too long */
00090 #define F_ERCREATELOCK  146     /* cannot create lock file */
00091 #define F_ERRECNAME     147     /* record too long */
00092 #define F_ERNOMATCHSTR  148     /* key structure does not match file structure */
00093 #define F_ERDIRACCESS   149     /* direct access on an indexed file not allowed */
00094 #define F_ERKEYACCESS_S 150     /* keyed access on a sequential file not allowed */
00095 #define F_ERKEYACCESS_R 151     /* keyed access on a relative file not allowed */
00096 #define F_ERAPPACCESS   152     /* append access on an indexed file not allowed */
00097 #define F_ERUNKRECLEN   153     /* must specify record length */
00098 #define F_ERNOMATCHVAL  154     /* key field value type does not match key type */
00099 #define F_ERKEYLONG     155     /* character key field value length too long */
00100 #define F_ERFIXED_S     156     /* fixed record on sequential file not allowed */
00101 #define F_ERVAR_S       157     /* variable records allowed only on unformatted sequential file */
00102 #define F_ERSTREAM_S    158     /* stream records allowed only on formatted sequential file */
00103 #define F_ERTOOMANYRECS 159     /* maximum number of records in direct access file exceeded */
00104 #define F_ERREADONLY    160     /* attempt to write to a readonly file */
00105 #define F_ERUNKKEYDESC  161     /* must specify key descriptions */
00106 #define F_ERCARRIAGE    162     /* carriage control not allowed for unformatted units */
00107 #define F_ERIDXONLY     163     /* indexed files only */
00108 #define F_ERISINDEXED   164     /* cannot use on indexed file */
00109 #define F_ERISIDXAPP    165     /* cannot use on indexed or append file */
00110 #define F_ERCLOSE       166     /* error in closing file */
00111 #define F_ERINVFMT      167     /* invalid code in format specification */
00112 #define F_ERINVRECNO    168     /* invalid record number in direct access file */
00113 #define F_ERISNONSEQ    169     /* cannot have endfile record on non-sequential file */
00114 #define F_ERPOSITION    170     /* cannot position within current file */
00115 #define F_ERSEQONDIR    171     /* cannot have sequential records on direct access file */
00116 #define F_ERNONAMELIST  172     /* cannot find namelist in input file  */
00117 #define F_ERREADSTDOUT  173     /* cannot read from stdout */
00118 #define F_ERWRITESTDIN  174     /* cannot write to stdin */
00119 #define F_ERFAILEDSTAT  175     /* stat call failed in f77inode */
00120 
00121 /* These are the error coded added in the libI90 implementation */
00122 #define F_ERILLSPEC     176     /* Illegal specifer */
00123 #define F_EREORNOPAD    177     /* EOF when PAD=NO */
00124 #define F_EREORNOADV    178     /* EOR= specifier used with ADVANCE=NO */
00125 #define F_ERSIZENOADV   179     /* SIZE= specifier present with ADVANCE=NO */
00126 #define F_ERRDWRONLY    180     /* attempt to read from a writeonly file */
00127 
00128 /* libI77 error codes */
00129 #define F_ERNODUIO      181     /* Direct unformatted I/O not allowed. */
00130 #define F_EROPENDIR     182     /* cannot open a directory */
00131 #define F_ERSUBSCRIPT   183     /* subscript out of bounds */
00132 #define F_ERNOTVARARG   184     /* function not declared as varargs */
00133 #define F_ERINTERNAL    185     /* internal error */
00134 #define F_ERBADINPUT    186     /* illegal input value */
00135 #define F_ERPOSITIONUSE 187     /* position specifier is allowed only 
00136                                         for sequential files */
00137 #define F_EPOSITIONVALUE 188    /* position specifier has an illegal value */
00138 #define F_ERMEMORY      189     /* Memory exhausted */
00139 #define F_ERALLOCATEDUP 190     /* already ALLOCATED (see F90 6.3.1.1) */
00140 #define F_ERALLOCATENOT 191     /* not currently ALLOCATED (see F90 6.3.3.1) */
00141 #define F_ERASSOCIATEDNOT 192   /* not currently ASSOCIATED (see F90 6.3.3.2) */
00142 #define F_ERALLOCATECREATE 193  /* not created by ALLOCATE (see F90 6.3.3.2) */
00143 #define F_ERDEALLOCTEPTR 194    /* cannot be DEALLOCATEd via a pointer 
00144                                         (see F90 6.3.3.2) */
00145 #define F_ERKEEPSCRATCH  195    /* cannot keep a file opened as a scratch file */
00146 #define F_TYPECONFLICT 196      /* data type conflicts with format */
00147 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines