#ifndef MSERRNO_H #define MSERRNO_H 1 /* * MSERRNO.H Error code values for mserrno * * In the spirit of an ANSI this file provides the error code names * for the values stored in mserrno. * * Copyright (c) 1991 Shal Farley * Cheshire Engineering Corporation * 650 Sierra Madre Villa Avenue, Suite 201 * Pasadena, California 91107 * (818) 351-5493 * (818) 351-8645 FAX * shal@alumni.caltech.edu * * This software may be used and distributed for any purpose without license or * royalty payments so long as the above copyright notice is preserved. If you * have any comments, bug fixes, improvements, or new programs based upon this * software I'd like to hear from you. */ extern int mserrno; /* Index into string table */ #define MSE_UNKNOWN 0 #define MSE_NOCLST 1 #define MSE_BADCLST 2 #define MSE_EMPTYCLST 3 #define MSE_SEEKCLST 4 #define MSE_READFAIL 5 #define MSE_WRITEFAIL 6 #define MSE_FNF 7 #define MSE_DIRFUL 8 #define MSE_BADMODE 9 #define MSE_NOAPPEND 10 #define MSE_NOUPDATE 11 #define MSE_READONLY 12 #define MSE_TMFILES 13 #define MSE_BADFREE 14 #define MSE_RTDEV 15 #define MSE_BADDEV 16 #ifdef MS_ERRLIST static char *mserrlist[] = { "Unknown Error", "Attempt to read past last cluster", "Attempt to read bad cluster", "Attempt to read empty cluster", "Seek to cluster failed", "Read of MS-DOS device failed", "Write of MS-DOS device failed", "File not found", "Directory full, too many files", "Unknown file open mode", "Append mode not implemented", "Update mode not implemented", "Attempted write to r mode file", "Too many MS-DOS files open", "Attempt to free unused file", "RT-11 Directory Structure", "Unrecognized Directory Structure", "" }; #endif /* MS_ERRLIST */ #endif /* MSERRNO_H */