00001 /* USMID @(#) clibinc/liberrno.h 92.7 11/09/99 14:39:08 */ 00002 00003 /* 00004 00005 Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. 00006 00007 This program is free software; you can redistribute it and/or modify it 00008 under the terms of version 2 of the GNU General Public License as 00009 published by the Free Software Foundation. 00010 00011 This program is distributed in the hope that it would be useful, but 00012 WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00014 00015 Further, this software is distributed without any warranty that it is 00016 free of the rightful claim of any third person regarding infringement 00017 or the like. Any license provided herein, whether implied or 00018 otherwise, applies only to this software file. Patent licenses, if 00019 any, provided herein do not apply to combinations of this program with 00020 other software, or any other product whatsoever. 00021 00022 You should have received a copy of the GNU General Public License along 00023 with this program; if not, write the Free Software Foundation, Inc., 59 00024 Temple Place - Suite 330, Boston MA 02111-1307, USA. 00025 00026 Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky, 00027 Mountain View, CA 94043, or: 00028 00029 http://www.sgi.com 00030 00031 For further information regarding this notice, see: 00032 00033 http://oss.sgi.com/projects/GenInfo/NoticeExplan 00034 00035 */ 00036 00037 #ifndef _LIBERRNO_H 00038 #define _LIBERRNO_H 00039 00040 #include <errno.h> /* includes asm/errno.h or sys/errno.h if appropriate */ 00041 00042 /* 00043 * Symbolic library run-time error codes 00044 * 00045 * 00046 * These error codes start at a large number so as to not overlap with 00047 * system error codes (<sys/errno.h>). Therefore, there is no need to 00048 * map system error codes into library run-time error codes. 00049 * 00050 * Because error numbers are compiled into existing binary programs, and 00051 * because they are documented in several places, existing error numbers 00052 * should not be substantially changed (fixing spelling errors and general 00053 * re-wording is acceptable as long as the basic meaning is unchanged). 00054 * Changing the number or type of substitutable parameters between releases 00055 * is strictly forbidden. Symbolic names for error message numbers are 00056 * provided as a means to easily cross-reference errors and not as a means 00057 * to change their numbers. 00058 * 00059 * Messages are grouped by origin and type, with gaps between groups for 00060 * future expansion. Thus, related message can be documented together 00061 * (e.g., "The following messages apply to OPEN processing..."). 00062 * 00063 * If a message must be substantially changed, leave the old message in 00064 * and add a new message. For example, suppose we have an existing message 00065 * number 4444 with the symbolic name of FEIFNQ and the text of the message 00066 * is: 00067 * "File name on OPEN must begin with the letter Q" 00068 * 00069 * Sometime later, this restriction is changed such that the file name must 00070 * contain only the letters Q. Since this substantially changes the meaning 00071 * of the error message, we do the following: 00072 * 00073 * 1) Sever the association between the symbolic name FEIFNQ and 4444, 00074 * by changing the definition in this file: 00075 * #define FEIFNQ 4444 File name must begin with Q 00076 * becomes: 00077 * #define FE__4444 4444 DEAD MESSAGE (n.n) - DO NOT REUSE 00078 * 00079 * where 'n.n' is the first release level (of UNICOS or CrayLibs) 00080 * where the message was no longer issued. 00081 * 00082 * 2) Create a new symbolic name (we can reuse the symbol FEIFNQ if it 00083 * is convenient, but we don't have to) with some other number: 00084 * #define FEIFNQ nnnn File name must have only Qs 00085 * 00086 * 3) Change the old message in the message source file 00087 * (libu/errmsg/lib.msg): 00088 * $msg FEIFNQ File name on OPEN must begin with the letter Q 00089 * becomes: 00090 * $msg FE__4444 File name on OPEN must begin with the letter Q 00091 * 00092 * 4) Add the 'new' message to the message source file: 00093 * $msg FEIFNQ File name on OPEN must contain only the letter Q 00094 * 00095 * The 'DEAD MESSAGE' note in this file and the hard-coded constant in the 00096 * message source file signal the existence of dead messages. Let them 00097 * rest in peace (at least for a release or two). 00098 * 00099 * Existing binary programs will continue to get the messages that apply to 00100 * them. 00101 */ 00102 00103 #ifndef SYMSONLY 00104 /* 00105 * Any function prototypes or other definitions which are not needed for 00106 * inclusion when lib.msg is processed to generate the .cat file should 00107 * be located here. The SYMSONLY symbol is defined when cpp is invoked 00108 * for lib.msg. 00109 */ 00110 00111 #include <stdarg.h> 00112 #if defined(__sun) || defined(__alpha) 00113 # include <cdefs.h> /* use crayf90/fe90/cdefs.h */ 00114 #else 00115 # include <sys/cdefs.h> /* use system's header */ 00116 #endif 00117 00118 __BEGIN_DECLS 00119 extern void _lerror (int _Hndlcode, int _Errno, ...); 00120 extern void _lmessage (int _Errno, char *_Severity, va_list args); 00121 extern int _fwarn (int _Errno, ...); 00122 extern int _lwarn (int _Errno, ...); 00123 __END_DECLS 00124 00125 #define MAXMLN 800 /* Maximum length of a message in bytes */ 00126 00127 #if defined(_CRAYT3D) && defined(_UNICOS_MAX) 00128 #define FEMCN "mpplib" /* Library Error Message Catalog Name */ 00129 #else 00130 #define FEMCN "lib" /* Library Error Message Catalog Name */ 00131 #endif 00132 00133 /* 00134 * Error levels are defined for the benefit of function _lerror(). The 00135 * error handling mode determines what kind of information should be printed 00136 * when a program aborts with an error. 00137 */ 00138 00139 #define _LELVL_ABORT 4 /* Message, abort and traceback */ 00140 #define _LELVL_EXIT 3 /* Message, exit with nonzero status */ 00141 #define _LELVL_MSG 2 /* Message, then return error status */ 00142 #define _LELVL_RETURN 0 /* No message, just return error status */ 00143 00144 #endif /* !SYMSONLY */ 00145 00146 /* 00147 * Define the range for the Fortran run-time library error messages, 00148 * based on sys/errno.h. 00149 */ 00150 00151 #if defined(__mips) || defined(_LITTLE_ENDIAN) 00152 #ifndef __FTNBASE /* __FTNBASE defined at kudzu level */ 00153 #define BASE 4000 00154 #else 00155 #define BASE __FTNBASE 00156 #endif 00157 #elif _UNICOS 00158 #define BASE EFLEFIRST 00159 #else 00160 #define BASE 1000 00161 #endif 00162 00163 /* 00164 * The range BASE to BASE+999 is reserved for Fortran I/O. 00165 */ 00166 00167 #define FERDPEOF -(BASE+1) /* Tried to read past end of file */ 00168 #define FERDEMPT -(BASE+2) /* Tried to read an empty file */ 00169 #define FERDENDR -(BASE+3) /* Tried to read past endfile record */ 00170 #define FERDNLEF -(BASE+4) /* Tried to read past EOF on namelist */ 00171 #define FERDIEOF -(BASE+5) /* Tried to read past internal file EOF */ 00172 00173 #define FEEORCND -(BASE+6) /* Read past EOR with ADVANCE='NO' */ 00174 00175 #define FE____10 (BASE+10) /* DEAD MESSAGE (7.3) -- DO NOT RE-USE */ 00176 #define FE____11 (BASE+11) /* DEAD MESSAGE (7.3) -- DO NOT RE-USE */ 00177 00178 #define FEIVUNIT (BASE+12) /* Invalid unit number */ 00179 #define FEIVUNTO (BASE+13) /* Invalid unit number on OPEN */ 00180 #define FENOTOPN (BASE+14) /* Unit is not connected */ 00181 #define FEIVRECN (BASE+15) /* Invalid record number (%d) */ 00182 #define FENORECN (BASE+16) /* Record number does not exist in file */ 00183 00184 #define FECONNDA (BASE+21) /* Unit not opened for direct access */ 00185 #define FECONNTP (BASE+22) /* Unit not connected to tape */ 00186 #define FE____23 (BASE+23) /* DEAD MESSAGE (7.3) -- DO NOT RE-USE */ 00187 #define FE____24 (BASE+24) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00188 #define FEOPOTHR (BASE+25) /* File is opened with another structure*/ 00189 #define FEOPAUXT (BASE+26) /* File is opened by an auxiliary i/o */ 00190 #define FEFILACT (BASE+27) /* ACTION= conflicts with file perms */ 00191 #define FENOSKPB (BASE+28) /* File does not support SKIPBAD */ 00192 #define FESTIOER (BASE+29) /* Error on underlying stdio request */ 00193 00194 #define FEOPSTAT (BASE+30) /* Unknown STATUS parameter on OPEN */ 00195 #define FEOPACCS (BASE+31) /* Unknown ACCESS parameter on OPEN */ 00196 #define FEOPFORM (BASE+32) /* Unknown FORM parameter on OPEN */ 00197 #define FEOPRECL (BASE+33) /* Unknown RECL parameter on OPEN */ 00198 #define FEOPBLNK (BASE+34) /* Unknown BLANK parameter on OPEN */ 00199 #define FEOPPOSN (BASE+35) /* Unknown POSITION parameter on OPEN */ 00200 00201 #define FEOPACTB (BASE+38) /* Unknown ACTION specifier on OPEN */ 00202 #define FEOPDLMB (BASE+39) /* Unknown DELIM specifier on OPEN */ 00203 00204 #define FEOPFNRQ (BASE+40) /* FILE specifier required on OPEN */ 00205 #define FEOPFNIV (BASE+41) /* FILE specifier invalid on OPEN */ 00206 #define FEOPRCRQ (BASE+42) /* RECL specifier required on OPEN */ 00207 00208 #define FEOPBKIV (BASE+44) /* BLANK specifier invalid on OPEN */ 00209 #define FEOPPSIV (BASE+45) /* POSITION specifier invalid on OPEN */ 00210 #define FEOPASGN (BASE+46) /* ASSIGN/ASGCMD conflict */ 00211 #define FE____47 (BASE+47) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00212 #define FEOPPADB (BASE+48) /* Unknown PAD specifier on OPEN */ 00213 #define FEOPDLMI (BASE+49) /* DELIM specifier invalid on OPEN */ 00214 00215 #define FE____50 (BASE+50) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00216 #define FEOPFNNX (BASE+51) /* File must not exist prior to OPEN */ 00217 #define FEOPFNCN (BASE+52) /* File is connected to another unit */ 00218 00219 #define FEOPCBNK (BASE+54) /* Only BLANK can be changed on reopen */ 00220 #define FEOPNOFS (BASE+55) /* File cannot be opened (structure) */ 00221 #define FEOPNNDA (BASE+56) /* File cannot be opened for direct acc.*/ 00222 #define FEOPCAPY (BASE+57) /* File cannot be opened per dgl's specs*/ 00223 #define FEOPNNEW (BASE+58) /* STATUS=NEW on currently-open-file */ 00224 #define FEOPIVRL (BASE+59) /* Incorrect RECL for existing d.a. file*/ 00225 00226 #define FEOPSTFN (BASE+60) /* Attempt to OPEN standard file wrong */ 00227 #define FEOPAQPZ (BASE+61) /* Invalid AQPSIZE parameter in AQOPEN */ 00228 #define FE____62 (BASE+62) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00229 #define FEWTOMNY (BASE+63) /* Too many open word addressable files */ 00230 #define FEWABLKS (BASE+64) /* Too many blocks requested in WINIT */ 00231 #define FERQTRNC (BASE+65) /* file requires truncation after write */ 00232 #define FE____66 (BASE+66) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00233 #define FEOPPDIV (BASE+67) /* PAD specifier invalid on OPEN */ 00234 #define FEOPNUNF (BASE+68) /* File cannot be opened for unfmtd acc */ 00235 #define FEOPNFMT (BASE+69) /* File cannot be opened for fmtd acc */ 00236 00237 #define FECLSTAT (BASE+70) /* Unknown STATUS parameter on CLOSE */ 00238 #define FECLSTIV (BASE+71) /* Invalid STATUS parameter on CLOSE */ 00239 #define FEINCZER (BASE+72) /* Increment in implied-do is zero */ 00240 #define FEAQBADH (BASE+73) /* AQIO call with invalid file handle */ 00241 #define FEMDUPOP (BASE+74) /* File connected to unit with "-m off" */ 00242 #define FEANOSUP (BASE+75) /* assign opt unsupported by file type */ 00243 #define FEMIXSCP (BASE+76) /* can't open unit private and global */ 00244 #define FENOGLOB (BASE+77) /* -P global not supported */ 00245 #define FENOPRIV (BASE+78) /* -P private not supported */ 00246 #define FEBSPNRD (BASE+79) /* BACKSPACE requires read permission */ 00247 #define FEFMTTIV (BASE+80) /* Formatted I/O invalid on unformatted */ 00248 #define FEUNFMIV (BASE+81) /* Unformatted I/O invalid on formatted */ 00249 #define FEDIRTIV (BASE+82) /* Direct access I/O invalid on seq. */ 00250 #define FESEQTIV (BASE+83) /* Sequential I/O invalid on direct acc.*/ 00251 #define FEBKSPIV (BASE+84) /* BACKSPACE invalid on direct access */ 00252 #define FEENDFIV (BASE+85) /* ENDFILE invalid on direct access */ 00253 #define FERWNDIV (BASE+86) /* REWIND invalid on direct access */ 00254 #define FERDAFWR (BASE+87) /* Read after write invalid on seq. */ 00255 #define FE____88 (BASE+88) /* DEAD MESSAGE (7.3) -- DO NOT RE-USE */ 00256 00257 #define FENOREAD (BASE+90) /* No read permission */ 00258 #define FENOWRIT (BASE+91) /* No write permission */ 00259 #define FENOBKSP (BASE+92) /* File does not support BACKSPACE */ 00260 #define FENOENDF (BASE+93) /* File does not support ENDFILE */ 00261 #define FE____94 (BASE+94) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00262 #define FEWRAFEN (BASE+95) /* WRITE or PRINT invalid after ENDFILE */ 00263 #define FEENAFEN (BASE+96) /* ENDFILE invalid after ENDFILE */ 00264 #define FE____97 (BASE+97) /* DEAD MESSAGE (7.3) -- DO NOT RE-USE */ 00265 #define FENOBKPI (BASE+98) /* Unable to BACKSPACE pipe */ 00266 #define FENORWPI (BASE+99) /* Unable to REWIND pipe */ 00267 00268 #define FE___100 (BASE+100) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00269 #define FENODELT (BASE+101) /* Unable to delete file on CLOSE */ 00270 00271 #define FENOTHRD (BASE+103) /* -P thread not supported */ 00272 #define FENOTEAM (BASE+104) /* -P team not supported */ 00273 00274 #define FEFMTILF (BASE+117) /* Infinite loop in format */ 00275 #define FEFMTLII (BASE+118) /* Literal invalid in input format */ 00276 #define FEFMTQIO (BASE+119) /* Q edit-desc. invalid in output format*/ 00277 00278 #define FENOSKPF (BASE+140) /* File does not support SKIPF */ 00279 00280 #define FERDTYPE (BASE+170) /* Data type mismatch on READ */ 00281 #define FEWRTYPE (BASE+171) /* Data type mismatch on WRITE */ 00282 00283 #define FERDIVLG (BASE+173) /* Invalid logical input field */ 00284 00285 #define FELDUNKI (BASE+180) /* Unknown input on list-directed read */ 00286 #define FELDNOCX (BASE+181) /* Invalid complex on list-directed read*/ 00287 #define FELDSTRL (BASE+182) /* String too long on list-directed read*/ 00288 00289 #define FENICVIC (BASE+190) /* Invalid character in numeric input */ 00290 #define FENICVOF (BASE+191) /* Overflow converting numeric input */ 00291 #define FENICVEU (BASE+192) /* Exponent underflow on numeric input */ 00292 #define FENICVEO (BASE+193) /* Exponent overflow on numeric input */ 00293 #define FENICVBK (BASE+194) /* Blank numeric input field */ 00294 00295 #define FERDPEOR (BASE+201) /* Tried to read past end of record */ 00296 #define FERDWRER (BASE+202) /* Read/wrote too little data */ 00297 #define FERDMEMY (BASE+203) /* Unable to get memory for fmt'd read */ 00298 00299 #define FENOMEMY (BASE+205) /* Unable to request more memory space */ 00300 #define FENOSDSP (BASE+206) /* Unable to request more SDS space */ 00301 00302 #define FEIOACTV (BASE+208) /* An I/O statement was already active */ 00303 #define FESDSFSS (BASE+209) /* SDS file size must be specified */ 00304 00305 #define FEWRLONG (BASE+211) /* Tried to write a too long record */ 00306 #define FEWRIEND (BASE+212) /* Tried to write beyond internal file */ 00307 #define FEPTRNAS (BASE+213) /* Ptr/alloc array not assoc/alloc'ed */ 00308 #define FEFMTPAL (BASE+214) /* FMT var not allocated or associated */ 00309 #define FEUNOTAL (BASE+215) /* UNIT var not allocated or associated */ 00310 #define FEFMTNUL (BASE+216) /* FMT var or array is zero-sized */ 00311 #define FERDMALR (BASE+217) /* Read encountered a malformed record */ 00312 00313 #define FEINTUNK (BASE+220) /* Internal Fortran library error */ 00314 #define FEINTFST (BASE+221) /* Internal error - unknown file struct.*/ 00315 00316 #define FEINTDTY (BASE+223) /* Internal error - unknown data type */ 00317 #define FEINTIPF (BASE+224) /* Internal error invalid parsed format */ 00318 00319 #define FEINTTAP (BASE+226) /* Internal error on tape read */ 00320 00321 /* 00322 * The range BASE+275 to BASE+329 is reserved for namelist I/O. 00323 */ 00324 00325 #define FENLSTRN (BASE+295) /* Null substring, nl read */ 00326 #define FENLSTRG (BASE+296) /* Bad substring contents, nl read */ 00327 #define FENLSUBN (BASE+297) /* Null subscript, nl read */ 00328 #define FENLSUBD (BASE+298) /* Bad char after subscript, nl read */ 00329 #define FENLSUBS (BASE+299) /* Bad char in subscript value, nl read */ 00330 00331 #define FENLLGNM (BASE+303) /* NL variable name too long + name */ 00332 #define FENLIVGP (BASE+304) /* NL input group name mismatch + name */ 00333 #define FENLIVIT (BASE+305) /* Input float data to INTEGER type */ 00334 #define FENLONEC (BASE+306) /* First/last character unknown nl read */ 00335 #define FENLUNKI (BASE+307) /* Unknown input on namelist read */ 00336 #define FENLZRCH (BASE+308) /* Zero length char in nl for cf90/cf77 */ 00337 #define FENLARSC (BASE+309) /* Array section input to cf90/cf77 nml */ 00338 #define FENLIOER (BASE+310) /* Namelist read error */ 00339 00340 #define FENLTYPE (BASE+312) /* Invalid char passed to namelist rtn. */ 00341 #define FENLLONG (BASE+313) /* Namelist variable name too long */ 00342 #define FENLIVGN (BASE+314) /* Namelist input group name mismatch */ 00343 #define FENLUNKN (BASE+315) /* Unrecognized namelist variable name */ 00344 #define FENLNOVL (BASE+316) /* Unable to obtain namelist value */ 00345 #define FENLIVLG (BASE+317) /* Invalid logical data in namelist read*/ 00346 #define FENLIVCX (BASE+318) /* Invalid complex data in namelist read*/ 00347 00348 #define FENLRECL (BASE+320) /* Input rec. too long on namelist read */ 00349 #define FENLBNDY (BASE+321) /* Attempted namelist read beyond array */ 00350 00351 #define FENLTOOM (BASE+323) /* Too many namelist elements specified */ 00352 #define FENLNREC (BASE+324) /* Unrecognized namelist variable name */ 00353 #define FENLTYPI (BASE+325) /* Data type mismatch on namelist read */ 00354 #define FENLNMSZ (BASE+326) /* Namelist name is larger than recsize */ 00355 #define FENLDBCP (BASE+327) /* Double complex illegal for f77 mode */ 00356 #define FENLSTCT (BASE+328) /* Structures illegal for f77 mode */ 00357 #define FENLPRAM (BASE+329) /* Bad pre-ampersand character in f90 */ 00358 00359 #define FEBIONDA (BASE+330) /* Direct access file invalid for BUFIO */ 00360 #define FEBIONFM (BASE+331) /* Formatted file invalid for BUFIO */ 00361 #define FEBIOFWA (BASE+332) /* Start address > end address for BUFIO*/ 00362 00363 #define FEBIOISP (BASE+334) /* Invalid argument to SETPOS */ 00364 #define FEBIOSNT (BASE+335) /* Positioning operation not supported */ 00365 00366 #define FEMIXBUF (BASE+338) /* Mixing BUFIO/READ/WRITE on pure file */ 00367 #define FEMIXAUX (BASE+339) /* Mixing auxiliary and Fortran I/O */ 00368 00369 #define FEDECDRL (BASE+340) /* Invalid DECODE record length */ 00370 #define FEENCDRL (BASE+341) /* Invalid ENCODE record length */ 00371 #define FEBIOFWD (BASE+342) /* Invalid number of items for BUFIO */ 00372 00373 #define FEADVSPC (BASE+343) /* Invalid ADVANCE= specifier on rd/wrt */ 00374 #define FEADVSIZ (BASE+344) /* ADVANCE='NO' required with SIZE= */ 00375 #define FEADVEOR (BASE+345) /* ADVANCE='NO' required with EOR= */ 00376 00377 #define FETAPNBN (BASE+350) /* Negative tape block number is invalid*/ 00378 #define FETAPNBS (BASE+351) /* Invalid NBS parameter */ 00379 #define FETAPNVS (BASE+352) /* Invalid NVS parameter */ 00380 00381 #define FETAPBSX (BASE+354) /* Maximum tape block size exceeded */ 00382 #define FETAPCMB (BASE+355) /* Invalid combination of parameters */ 00383 #define FETAPUTE (BASE+356) /* Unrecovered tape error on tape read */ 00384 #define FETASKPF (BASE+357) /* Cannot SKIPF forward */ 00385 #define FETAPNVY (BASE+358) /* Invalid NVS or NV parameter */ 00386 00387 #define FETBARGS (BASE+360) /* Tblmgr routine called with bad args. */ 00388 #define FETBNTAB (BASE+361) /* Tblmgr routine called with bad NTAB */ 00389 #define FETBTNUM (BASE+362) /* Tblmgr routine called with bad tab. #*/ 00390 #define FETBINCR (BASE+363) /* Tblmgr routine called with bad incr. */ 00391 00392 #define FEUBCINV (BASE+370) /* Read or write of nonbyte-data is inv.*/ 00393 #define FELDDCNV (BASE+371) /* Data conversion routine not loaded */ 00394 #define FENCNV90 (BASE+372) /* Can't convert this type with f90 */ 00395 #define FEKNTSUP (BASE+373) /* I/O not supported for this KIND */ 00396 #define FESHRSUP (BASE+374) /* Shared variables inv. with this I/O */ 00397 #define FENOICNV (BASE+375) /* Data conversion not sup on this unit */ 00398 00399 #define FEARGLST (BASE+380) /* Argument list is not valid */ 00400 00401 #define FEKLUDG1 (BASE+391) /* System error 1 */ 00402 #define FEKLUDG2 (BASE+392) /* System error 2 */ 00403 #define FEKLUDG3 (BASE+393) /* System error 3 */ 00404 #define FEKLUDG4 (BASE+394) /* System error 4 */ 00405 00406 #define FEARGCNT (BASE+402) /* Routine called with wrong # of args. */ 00407 #define FEARGSHP (BASE+403) /* Actual/dummy argument shape conflict */ 00408 00409 /* 00410 * The range BASE+405 to BASE+499 is reserved for Fortran-90 intrinsics and 00411 * Fortran-90 statement support. 00412 */ 00413 00414 #define FESCIDIM (BASE+405) /* Array intrin. has illegal DIM arg. */ 00415 #define FESCIRNK (BASE+406) /* Illegal rank for array intrin. arg. */ 00416 #define FESCICNF (BASE+407) /* Matrix operands are not conformable. */ 00417 #define FERSHNPD (BASE+408) /* RESHAPE srcsize.lt.moldsize, no PAD */ 00418 #define FERSHNEG (BASE+409) /* RESHAPE arg SHAPE has negative value */ 00419 #define FEPTRARR (BASE+410) /* Source arg not associated | allocated*/ 00420 #define FEALALLO (BASE+411) /* ALLOCATE array already allocated */ 00421 #define FENODEAL (BASE+412) /* DEALLOCATE arg not alloc or ptr-alloc*/ 00422 #define FEDEALSZ (BASE+413) /* DEALLOCATE arg not allocated size */ 00423 #define FERPTNEG (BASE+414) /* negative ncopies argument to REPEAT */ 00424 #define FENEARZS (BASE+415) /* NEAREST argument S is 0.0 */ 00425 #define FEIPOWZR (BASE+416) /* Two zero arguments to POWER routine */ 00426 #define FEBDORDR (BASE+417) /* Bad value in ORDER for RESHAPE */ 00427 #define FEBADMLD (BASE+418) /* Result of TRANSFER <= size of source */ 00428 #define FESHPSZZ (BASE+419) /* Shape array to RESHAPE is 0-sized */ 00429 #define FEVECUNP (BASE+420) /* Too few elts in UNPACK vector array */ 00430 #define FENGFLCL (BASE+421) /* GETFIRST array not allocated locally */ 00431 #define FEDEASIZ (BASE+422) /* DEALLOC argsize mismatch,give sizes */ 00432 #define FENMPTAR (BASE+423) /* Source arg not associated:allocated */ 00433 #define FENMSCDM (BASE+424) /* nm Array intrin. has illegal DIM arg */ 00434 00435 /* 00436 * The range BASE+500 to BASE+599 is reserved for assign processing. 00437 * 500-579 Assign errors 00438 * 580-599 Assign warnings 00439 */ 00440 00441 #define ERAS_UNFILE (BASE+500) /* Can't read global environment file */ 00442 #define ERAS_WRERR (BASE+501) /* Can't write global environment file */ 00443 00444 #define ERAS_ATTFMT (BASE+503) /* Bad format of assign attributes in */ 00445 /* assign environment file */ 00446 #define FE___504 (BASE+504) /* DEAD MESSAGE (3.0) -- DO NO RE-USE */ 00447 #define FE___505 (BASE+505) /* DEAD MESSAGE (3.0) -- DO NO RE-USE */ 00448 #define FE___506 (BASE+506) /* DEAD MESSAGE (3.0) -- DO NO RE-USE */ 00449 #define ERAS_FSNSUP (BASE+507) /* File structure not supported */ 00450 #define ERAS_MIXFS (BASE+508) /* Invalid mixing of -F and -s options */ 00451 #define ERAS_MIXFO (BASE+509) /* Invalid mix of -F with -b, -p, etc. */ 00452 #define FE___510 (BASE+510) /* DEAD MESSAGE (1.2) -- DO NOT RE-USE */ 00453 #define ERAS_ASNCTL (BASE+511) /* Invalid arguments passed to ASNCTL */ 00454 #define FE___512 (BASE+512) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00455 #define ERAS_BADTYPE (BASE+513) /* Unrecognized assign object */ 00456 #define ERAS_BADUNIT (BASE+514) /* Unrecognized assign unit object */ 00457 #define ERAS_INCOV (BASE+515) /* -I and -O cannot both be provided */ 00458 #define ERAS_REMV (BASE+516) /* -V and -R cannot both be provided */ 00459 #define ERAS_REMAT (BASE+517) /* -R cannot be provided with attrs */ 00460 #define ERAS_VIEWAT (BASE+518) /* -V cannot be provided with attrs */ 00461 #define FE___519 (BASE+519) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00462 #define ERAS_NOOBJS (BASE+520) /* No assign objects specified */ 00463 #define FE___521 (BASE+521) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00464 #define FE___522 (BASE+522) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00465 #define ERAS_DIRFMT (BASE+523) /* Assign directive has bad format */ 00466 /* in assign file or CALL ASSIGN */ 00467 #define ERAS_FNBL (BASE+524) /* ASNFILE 1st arg has imbedded blnks */ 00468 #define ERAS_ATTRP (BASE+525) /* Invalid -p option value on assign */ 00469 #define ERAS_COREQN (BASE+526) /* -c requires -n to be specified */ 00470 #define ERAS_FILENV (BASE+527) /* FILENV must be set when TMPDIR isn't */ 00471 #define ERAS_NOPOP (BASE+528) /* ASNCTL('POP') called w/ empty stack */ 00472 #define ERAS_MIXAD (BASE+529) /* Invalid mixing of -a with -D options */ 00473 #define ERAS_ATTSPC (BASE+530) /* No space for asn attribs in char var */ 00474 #define ERAS_BADRECF (BASE+531) /* Bad assign record in assign env file */ 00475 #define ERAS_BADRECE (BASE+532) /* Bad assign/asgcmd record in penv */ 00476 #define ERAS_NULLVNAM (BASE+533) /* Environment variable name is null */ 00477 #define ERAS_PATCONF (BASE+534) /* Matched >1 filename pattern */ 00478 #define ERAS_MTRUNC (BASE+535) /* "-m on" not valid with "-T on" */ 00479 #define ERAS_FILENVPOS (BASE+536) /* FILENV not set (non-UNICOS systems)*/ 00480 #define ERAS_BADCLASS (BASE+537) /* Bad -F class */ 00481 #define ERAS_BADOPT (BASE+538) /* Bad option with valid -F class */ 00482 #define ERAS_CONFLICT (BASE+539) /* Conflicting options on -F */ 00483 #define ERAS_BADSYNT (BASE+540) /* Bad syntax with -F */ 00484 #define ERAS_OPTREQ (BASE+541) /* Option is required w. this -F class */ 00485 #define ERAS_PSTRING (BASE+542) /* -F specification is too long */ 00486 #define ERAS_TOKUNI (BASE+543) /* Invalid units with -F */ 00487 #define ERAS_BADMBS (BASE+544) /* Bad mbs with -F */ 00488 #define ERAS_INMAX (BASE+545) /* Bad initial maximum value combination*/ 00489 #define ERAS_BADREC (BASE+546) /* Bad record with -F */ 00490 #define ERAS_BADRFMT (BASE+547) /* Bad record format */ 00491 #define ERAS_NUMREQ (BASE+548) /* Numeric value required */ 00492 #define ERAS_TOOBIG (BASE+549) /* A numeric option is too big */ 00493 #define ERAS_TOOSMALL (BASE+550) /* A numeric option is too small*/ 00494 #define ERAS_TOOLAY (BASE+551) /* Too many layers specified */ 00495 #define ERAS_OPTVAL1 (BASE+552) /* Invalid attribute option value */ 00496 #define ERAS_OPTVAL2 (BASE+553) /* Invalid attribute option value - %s */ 00497 #define ERAS_UNOPT (BASE+554) /* Unrecognized option */ 00498 #define ERAS_LRAW (BASE+555) /* -l not valid with -o_raw or -o_ldraw */ 00499 00500 #define WNAS_ANSUPY (BASE+580) /* Option not supported on CX/1/CEA */ 00501 #define FE___583 (BASE+583) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00502 #define FE___584 (BASE+584) /* DEAD MESSAGE (1.2) -- DO NOT RE-USE */ 00503 #define FE___585 (BASE+585) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00504 #define WNAS_DEPASDS (BASE+586) /* Use of "-a SDS" is deprecated */ 00505 #define WNAS_UBMX (BASE+587) /* "-u" requires tape device on CX/1/CEA*/ 00506 #define FE___588 (BASE+588) /* DEAD MESSAGE (3.0) -- DO NOT RE-USE */ 00507 #define WNAS_QNSTRD (BASE+589) /* -q and -n :stride conflict; using -q */ 00508 #define WNAS_NUMERIC (BASE+590) /* Too many numerics specified */ 00509 00510 /* 00511 * The range BASE+600 to BASE+650 is reserved for Format errors 00512 * (see cray/format.h) 00513 */ 00514 00515 #define FEFMTBAS (BASE+611) /* Base for all format errors */ 00516 00517 #define FEFMTELP (BASE+611) /* Expecting left parenthesis */ 00518 #define FEFMTERP (BASE+612) /* Expecting right parenthesis */ 00519 #define FEFMTEIN (BASE+613) /* Expecting integer */ 00520 #define FEFMTEPE (BASE+614) /* Expecting period */ 00521 #define FEFMTEPX (BASE+615) /* Expecting P or X */ 00522 #define FEFMTIRP (BASE+616) /* Invalid repetition count */ 00523 #define FEFMTZRP (BASE+617) /* Zero repetition count */ 00524 #define FEFMTZFW (BASE+618) /* Zero field width */ 00525 #define FEFMTFTL (BASE+619) /* Field too large */ 00526 #define FEFMTZMH (BASE+620) /* Zero or missing hollerith count */ 00527 #define FEFMTIED (BASE+621) /* Invalid edit descriptor */ 00528 #define FEFMTNLS (BASE+622) /* Nonterminated literal string */ 00529 #define FEFMTMEM (BASE+623) /* Unable to allocate memory */ 00530 00531 /* 00532 * The range BASE+691 to BASE+699 is reserved for PACK/UNPACK errors 00533 */ 00534 00535 #define FEPCKARG (BASE+691) /* PACK/UNPACK called with too few args.*/ 00536 #define FEPCKNEG (BASE+692) /* PACK/UNPACK called with count < 0 */ 00537 #define FEPCKPW2 (BASE+693) /* PACK/UNPACK called with invalid NBITS*/ 00538 00539 00540 00541 #define BMMVLCHK (BASE+800) /* Bad VL in BMM simulation routines */ 00542 00543 /* 00544 * The range BASE+850 to BASE+899 is for POSIX 1003.9 errors 00545 */ 00546 00547 #define ENONAME (BASE+850) /* Invalid struct, const. or comp. name */ 00548 #define ENOHANDLE (BASE+851) /* Handle not created */ 00549 #define ETRUNC (BASE+852) /* Out character argument was truncated */ 00550 #define EARRAYLEN (BASE+853) /* No. of array elements exceeds IALEN */ 00551 #define EEND (BASE+854) /* End of file, record or directory */ 00552 #define EBADHANDLE (BASE+855) /* Invalid handle ID or type. Not part 00553 of standard */ 00554 #define EBADID (BASE+856) /* Invalid ID. Not part of standard. */ 00555 00556 /* 00557 * The range BASE+900 to BASE+999 is for library warning (nonfatal) messages. 00558 */ 00559 00560 #define FWDEFBSZ (BASE+907) /* DEFBUFSIZ environment var ignored */ 00561 00562 #define FWFUNKTP (BASE+931) /* KIND type param conflict, CALL - f90 */ 00563 #define FWFUNRNK (BASE+932) /* Array RANK conflict for CALL - f90 */ 00564 #define FWFUNSIZ (BASE+933) /* Array SIZE conflict for CALL - f90 */ 00565 #define FWFUNCHL (BASE+934) /* Character Length conflict, CALL- f90 */ 00566 #define FWFUNDVT (BASE+935) /* Derived Types mismatch for CALL- f90 */ 00567 #define FWFUNNPT (BASE+936) /* PTR func but no PTR attr, CALL - f90 */ 00568 #define FWFUNPTR (BASE+937) /* PTR attr but no PTR func, CALL - f90 */ 00569 #define FWARGOPT (BASE+938) /* Nonoptional arg missing, CALL - f90 */ 00570 #define FWARGKTP (BASE+939) /* KIND type conflict for argument- f90 */ 00571 #define FWARGDVT (BASE+940) /* Derived Type conflict for arg - f90 */ 00572 #define FWARGOUT (BASE+941) /* INTENT IN/OUT conflict for arg - f90 */ 00573 #define FWARGPTR (BASE+942) /* Actual/Dummy ptr arg conflict - f90 */ 00574 #define FWARGRNK (BASE+943) /* Actual/Dummy arg rank conflict - f90 */ 00575 #define FWARGPCL (BASE+944) /* Act/Dummy ptr/ass-shape charlen- f90 */ 00576 #define FWARGASS (BASE+945) /* Act/Dummy array type conflict - f90 */ 00577 #define FWARGSCA (BASE+946) /* Act/Dummy array/scalar conflict- f90 */ 00578 #define FWARGCHL (BASE+947) /* Act/Dummy arg charlen conflict - f90 */ 00579 #define FWARGARS (BASE+948) /* Act/Dummy scalar/array conflict- f90 */ 00580 #define FWARGSIZ (BASE+949) /* Act/Dummy array extent conflict- f90 */ 00581 #define FWBNDCHK (BASE+950) /* Subscript value out of bounds... */ 00582 #define FWCONFCK (BASE+951) /* Arrays are not conformant... */ 00583 #define FWNUMARG (BASE+952) /* Number of arguments is not correct */ 00584 #define FWARGTYP (BASE+953) /* Actual/dummy argument type conflict */ 00585 #define FWFUNTYP (BASE+954) /* Actual/dummy argument type conflict */ 00586 #define FWARGSHP (BASE+955) /* Actual/dummy argument shape conflict */ 00587 00588 #define FWARGDIM (BASE+960) /* array dimension nonconformant - f90 */ 00589 #define FWARGSBV (BASE+961) /* Subscript value out of bounds - f90 */ 00590 #define FWARGSBR (BASE+962) /* Subscript range out of bounds - f90 */ 00591 #define FWARGSTR (BASE+963) /* Substring range out of bounds - f90 */ 00592 #define FWARGSVB (BASE+964) /* Subscript val out of bounds, mipsf90 */ 00593 #define FWARGDMD (BASE+965) /* array dim nonconform,dim,ep, mipsf90 */ 00594 #define FWARGDMZ (BASE+966) /* array dim nonconform,ep, mipsf90 */ 00595 #define FWASOCPT (BASE+967) /* unassociated pointer */ 00596 #define FWALOCAR (BASE+968) /* unallocated allocatable array */ 00597 #define FWASASAR (BASE+969) /* unassociated assumed shape array */ 00598 00599 #define CWPTRCHK (BASE+975) /* Dereference of suspicious C pointer */ 00600 #define CWBNDCHK (BASE+976) /* C subscript value out of bounds */ 00601 00602 /* 00603 * Errors generated by the ffio package, range is 5000-5999. 00604 */ 00605 00606 #define FDC_ERRB 5000 /* FFIO Error number base */ 00607 #define FDC_ERR_INTERR 5000 /* Deep weeds, internal error */ 00608 #define FDC_ERR_CHAIN 5001 /* The chain of layers has some consistency */ 00609 /* problem. Issued from ffopen(). */ 00610 #define FDC_ERR_NOSUP 5002 /* request not supported */ 00611 #define FDC_ERR_NOBDRY 5003 /* format depends on lower level */ 00612 /* record boundaries, which are not there */ 00613 #define FDC_ERR_UBC 5004 /* bad UBC count */ 00614 #define FDC_ERR_FMT 5005 /* error in FDC record format, usually */ 00615 /* means that the file has been corrupted. */ 00616 #define FDC_ERR_SCC 5006 /* bad SCC found in foreign file */ 00617 #define FDC_ERR_MXREC 5007 /* maximum record size exceeded */ 00618 #define FDC_ERR_MXBLK 5008 /* maximum block size exceeded */ 00619 #define FDC_ERR_RAWR 5009 /* read after write error */ 00620 #define FDC_ERR_NOMEM 5010 /* no memory! */ 00621 #define FDC_ERR_REQ 5011 /* Bad request */ 00622 #define FDC_ERR_PITM 5012 /* A read produced a partial item, when */ 00623 /* numeric conversion was requested. */ 00624 #define FDC_ERR_WPEOD 5013 /* Write past EOD */ 00625 #define FDC_ERR_RPEOD 5014 /* Read past EOD */ 00626 #define FDC_ERR_PADD 5015 /* remainder of record is not mult of rec */ 00627 #define FDC_ERR_UXEND 5016 /* unexpected end, bad format */ 00628 #define FDC_ERR_CDCBT 5017 /* bad cyber block terminator */ 00629 #define FDC_ERR_CDCICW 5018 /* bad cyber I control word */ 00630 #define FDC_ERR_CDCWCW 5019 /* bad cyber W control word */ 00631 00632 #define FDC_ERR_WRARD 5021 /* Write after READ, not yet supported */ 00633 #define FDC_ERR_DISABL 5022 /* Tried to use disabled layer */ 00634 #define FDC_ERR_CCVRT 5023 /* Character conversion error */ 00635 #define FDC_ERR_NCVRT 5024 /* Numeric conversion error */ 00636 #define FDC_ERR_BADSPC 5025 /* Bad open spec, usually layer */ 00637 #define FDC_ERR_BADBCW 5026 /* Bad BCW in COS layer */ 00638 #define FDC_ERR_BADRCW 5027 /* Bad RCW in COS layer */ 00639 #define FDC_ERR_WRDEV 5028 /* wrong device type for term layer */ 00640 #define FDC_ERR_BADNVE 5029 /* bad NOS/VE V control word */ 00641 #define FDC_ERR_FSSALO 5030 /* sds/mr allocation failed */ 00642 #define FDC_ERR_SDSIO 5031 /* an ssread/sswrite failed */ 00643 #define FDC_ERR_BADSK 5032 /* bad seek request */ 00644 #define FDC_ERR_BADCOS 5033 /* corrupted/bad COS blocked file */ 00645 #define FDC_ERR_FSSOVF 5034 /* FSS overflow not permitted */ 00646 #define FDC_ERR_NWEOF 5035 /* cannot WEOF */ 00647 #define FDC_ERR_BADPRI 5036 /* Bad PRI field in COS blocked file */ 00648 #define FDC_ERR_BADPFI 5037 /* Bad PFI field in COS blocked file */ 00649 #define FDC_ERR_NOPARM 5038 /* Not enough parameters in call */ 00650 #define FDC_ERR_NOGPOS 5039 /* GETPOS not supported */ 00651 #define FDC_ERR_NOSPOS 5040 /* SETPOS not supported */ 00652 #define FDC_ERR_NOTREC 5041 /* Rqst must occur only on rec bdry */ 00653 #define FDC_ERR_BADPTR 5042 /* fio pointer does not point to valid struct */ 00654 #define FDC_ERR_NBUF0 5043 /* negative number of buffers requested */ 00655 #define FDC_ERR_BUFSIZ 5044 /* buffer size is negative or too large */ 00656 #define FDC_ERR_NOSTRM 5045 /* format depends on lower level layers(s) */ 00657 /* being stream, which they are not */ 00658 #define FDC_ERR_BADOVF 5046 /* FSS Overflow not permitted */ 00659 #define FDC_ERR_SDSWB 5047 /* ssread/sswrite requires word boundary */ 00660 #define FDC_ERR_OPNGRAN 5048 /* file size is not a multiple of granularity */ 00661 #define FDC_ERR_GRAN 5049 /* layer data size granularity is violated */ 00662 #define FDC_ERR_BCKDOOR 5050 /* layer below cache.ssd must support O_SSD */ 00663 #define FDC_ERR_NOER90 5051 /* File is not an ER90 */ 00664 00665 #define FDC_ERR_OAPPEND 5052 /* layer does not support O_APPEND open flag */ 00666 #define FDC_ERR_OSSD 5053 /* layer does not support O_SSD flag */ 00667 #define FDC_ERR_LSTIO 5054 /* listio subrequests not all for same file */ 00668 #define FDC_ERR_NOSCR 5055 /* file cannot be opened as a scratch file */ 00669 #define FDC_ERR_NOTAPE 5056 /* File is not a tape file. It is ER90 */ 00670 #define FDC_ERR_WRTERR 5057 /* Wrote too little data */ 00671 #define FDC_ERR_RDERR 5058 /* Read too little data */ 00672 #define FDC_ERR_SHCAC 5059 /* Cannot have stacked shared caches */ 00673 00674 #define FDC_ERR_MTLSTIO 5060 /* Layer must be able to handle listio */ 00675 #define FDC_ERR_MTLOCK 5061 /* Cannot lock */ 00676 #define FDC_ERR_GLMFILE 5062 /* Different files attached on different PEs */ 00677 #define FDC_ERR_BADSHC 5063 /* Bad stacked shared caches */ 00678 #define FDC_ERR_NOSTCA 5064 /* stacked shared caches not allowed*/ 00679 #define FDC_ERR_EOVDIS 5065 /* EOV processing is disabled */ 00680 #define FDC_ERR_EOVALOW 5066 /* Operation not allowed during special eov */ 00681 00682 /* 00683 * Errors generated by the 'cmp' UserLayer will be in the range 5500-5599. 00684 */ 00685 00686 #define FDC_ERR_CMPLYR 5501 /* Can't alloc memory for cmp layer */ 00687 #define FDC_ERR_SEGSIZ 5502 /* Segment size is not within range */ 00688 #define FDC_ERR_CACHESZ 5503 /* Invalid data segment cache size */ 00689 #define FDC_ERR_DEBUGLVL 5504 /* Invalid Debug level */ 00690 #define FDC_ERR_BADTRANS 5505 /* Invalid transformation type */ 00691 #define FDC_ERR_INITHDR 5506 /* Unitialized header */ 00692 00693 #define FDC_ERR_WRHDR 5507 /* Error writing header */ 00694 #define FDC_ERR_CACHE 5508 /* Error allocating DataSegD cache */ 00695 #define FDC_ERR_DSEGD 5509 /* Error writing DataSegD */ 00696 #define FDC_ERR_DSEG 5510 /* Error writing data segment */ 00697 #define FDC_ERR_DSEGBUF 5511 /* Error allocating cmpDSegBuffer */ 00698 #define FDC_ERR_WRCACHE 5512 /* Error writing DSegD Cache */ 00699 #define FDC_ERR_WRTRLR 5513 /* Error writing trailer */ 00700 00701 #define FDC_ERR_RDHDR 5514 /* Unable to read file header */ 00702 #define FDC_ERR_BADHDR 5515 /* Invalid file header */ 00703 #define FDC_ERR_SEEKTRL 5516 /* Unable to seek to trailer */ 00704 #define FDC_ERR_RDTRL 5517 /* Unable to read file trailer */ 00705 #define FDC_ERR_SEEKCACHE 5518 /* Couldn't seek to cache location */ 00706 #define FDC_ERR_RDCACHE 5519 /* Couldn't read segment cache */ 00707 #define FDC_ERR_SEEKFDSEGD 5520 /* Couldn't seek to first data */ 00708 /* segment descriptor in file */ 00709 #define FDC_ERR_BADCACHE 5521 /* Invalid segment descriptor cache */ 00710 #define FDC_ERR_NODSEGD 5522 /* No segment descriptors found */ 00711 #define FDC_ERR_FILESZ 5523 /* Inconsistent file size */ 00712 #define FDC_ERR_CMPBUF 5524 /* Couldn't alloc compressed buf */ 00713 #define FDC_ERR_UNCMPBUF 5525 /* Couldn't alloc uncompressed buf */ 00714 #define FDC_ERR_RDDSEG 5526 /* Couldn't read data segment */ 00715 #define FDC_ERR_RDADSEG 5527 /* Couldn't read data segment */ 00716 #define FDC_ERR_SEGLEN 5528 /* Bad data segment length */ 00717 #define FDC_ERR_SEEKDSEG 5529 /* Couldn't seek to data segment */ 00718 #define FDC_ERR_BADFLAGS 5530 /* Can't write to a file that was */ 00719 /* not opened for writing */ 00720 #define FDC_ERR_WRSEEK 5531 /* Can't seek when writing a */ 00721 /* compressed file */ 00722 00723 #define FDC_ERR_SEEKBEG 5532 /* Couldn't seek to beginning */ 00724 #define FDC_ERR_SEEKEND 5533 /* Couldn't seek to last data seg */ 00725 #define FDC_ERR_UPDHDR 5534 /* Error updating file header */ 00726 #define FDC_ERR_BADAPPEND 5535 /* Error appending data */ 00727 #define FDC_ERR_APPOPEN 5536 /* Can't open append file for read */ 00728 #define FDC_ERR_APPCLOSE 5537 /* Can't close append file */ 00729 00730 #define FDC_ERR_BADSEGBUF 5538 /* Bad uncompressed cached buffer */ 00731 #define FDC_ERR_UNCMPSEGLIST 5539 /* Couldn't allocate uncompressed */ 00732 /* segment buffer cache */ 00733 #define FDC_ERR_SEEKSET 5540 /* Pos for SEEK_SET is invalid */ 00734 #define FDC_ERR_TRACE_FILE 5541 /* Couldn't open trace file */ 00735 00736 /* 00737 * Error codes for the Lempel-Ziv compression and decompression algorithms. 00738 */ 00739 00740 #define FDC_ERR_LZ_UNPACK 5542 /* Couldn't unpack compressed info */ 00741 #define FDC_ERR_LZ_BADCHAR 5543 /* Unknown character encountered */ 00742 #define FDC_ERR_LZ_NOCOMP 5544 /* No compression achieved */ 00743 #define FDC_ERR_LZ_BUFALLOC 5545 /* Couldn't allocate buffer space */ 00744 #define FDC_ERR_LZ_WRITEMAX 5546 /* Couldn't write max bits */ 00745 #define FDC_ERR_LZ_BADHEADER 5547 /* Wrong magic header bits found */ 00746 #define FDC_ERR_LZ_BADMAXBITS 5548 /* Wrong max bits encountered */ 00747 #define FDC_ERR_LZ_BADINPUT 5549 /* Bad input during decompression */ 00748 #define FDC_ERR_LZ_WRITEHDR 5550 /* Error writing magic header */ 00749 #define FDC_ERR_LZ_UNCMPLEN 5551 /* Wrong uncompressed length */ 00750 #define FDC_ERR_LZ_BADCOMP 5552 /* Compression not working (DEBUG) */ 00751 00752 #endif /* !_LIBERRNO_H */