syserror.c
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:3k
- /*
- * Paradigm C/C++ Run-Time Library - Version 5.0
- *
- * Copyright (c) 1998 Paradigm Systems. All rights reserved.
- * Portions Copyright (c) 1996 Borland International.
- *
- * $Revision: 2 $
- * $Workfile: syserror.c $
- *
- * function(s)
- * System error messages. For size reasons, most messages are not
- * implemented.
- */
- #include "Config.h" // Global Configuration - do not remove!
- #include "IncludeSysDefs.h"
- #include <stdio.h>
- #include <stdlib.h>
- #include <errno.h>
- #undef _sys_errlist
- #undef _sys_nerr
- #pragma codeseg _TEXT "CODE"
- #pragma option -d
- CONST char *CONST _I49sys_errlist[] = {
- /* 0 */ "Error 0",
- /* 1 */ "Invalid function number",
- /* 2 */ "", // "No such file or directory",
- /* 3 */ "", // "Path not found",
- /* 4 */ "", // "Too many open files",
- /* 5 */ "", // "Permission denied",
- /* 6 */ "", // "Bad file number",
- /* 7 */ "Memory arena trashed",
- /* 8 */ "Not enough memory",
- /* 9 */ "Invalid memory block address",
- /* 10 */ "", // "Invalid environment",
- /* 11 */ "", // "Invalid format",
- /* 12 */ "", // "Invalid access code",
- /* 13 */ "", // "Invalid data",
- /* 14 */ "", // "Bad address",
- /* 15 */ "", // "No such device",
- /* 16 */ "", // "Attempted to remove current directory",
- /* 17 */ "", // "Not same device",
- /* 18 */ "", // "No more files",
- /* 19 */ "", // "Invalid argument",
- /* 20 */ "", // "Arg list too big",
- /* 21 */ "", // "Exec format error",
- /* 22 */ "", // "Cross-device link",
- /* 23 */ "", // "Too many open files",
- /* 24 */ "", // "No child processes",
- /* 25 */ "", // "Inappropriate I/O control operation",
- /* 26 */ "", // "Executable file in use",
- /* 27 */ "", // "File too large",
- /* 28 */ "", // "No space left on device",
- /* 29 */ "", // "Illegal seek",
- /* 30 */ "", // "Read-only file system",
- /* 31 */ "", // "Too many links",
- /* 32 */ "", // "Broken pipe",
- /* 33 */ "Math argument",
- /* 34 */ "Result too large",
- /* 35 */ "", // "File already exists",
- /* 36 */ "", // "Possible deadlock",
- /* 37 */ "", // "Operation not permitted",
- /* 38 */ "", // "No such process",
- /* 39 */ "", // "Interrupted function call",
- /* 40 */ "", // "Input/output error",
- /* 41 */ "", // "No such device or address",
- /* 42 */ "", // "Resource temporarily unavailable",
- /* 43 */ "", // "Block device required",
- /* 44 */ "", // "Resource busy",
- /* 45 */ "", // "Not a directory",
- /* 46 */ "", // "Is a directory",
- /* 47 */ ""
- } ;
- CONST int _I49sys_nerr = sizeof(_I49sys_errlist) / sizeof(_I49sys_errlist[0]);