Category : C++ Source Code
Archive   : VCCRT1.ZIP
Filename : SYSERR.C

 
Output of file : SYSERR.C contained in archive : VCCRT1.ZIP
/***
*syserr.c - system error list
*
* Copyright (c) 1987-1992, Microsoft Corporation. All rights reserved.
*
*Purpose:
* Defines the System Error List, containing the full messages for
* all errno values set by the library routines.
* Defines _sys_errlist, _sys_nerr.
*
*******************************************************************************/

char *_sys_errlist[] =
{
/* 0 EZERO */ "Error 0",
/* 1 EPERM */ "",
/* 2 ENOENT */ "No such file or directory",
/* 3 ESRCH */ "",
/* 4 EINTR */ "",
/* 5 EIO */ "",
/* 6 ENXIO */ "",
/* 7 E2BIG */ "Arg list too long",
/* 8 ENOEXEC */ "Exec format error",
/* 9 EBADF */ "Bad file number",
/* 10 ECHILD */ "", /* uniforum differs */
/* 11 EAGAIN */ "",
/* 12 ENOMEM */ "Not enough memory", /* uniforum differs */
/* 13 EACCES */ "Permission denied",
/* 14 EFAULT */ "",
/* 15 ENOTBLK */ "",
/* 16 EBUSY */ "", /* uniforum differs */
/* 17 EEXIST */ "File exists",
/* 18 EXDEV */ "Cross-device link",
/* 19 ENODEV */ "",
/* 20 ENOTDIR */ "",
/* 21 EISDIR */ "",
/* 22 EINVAL */ "Invalid argument",
/* 23 ENFILE */ "",
/* 24 EMFILE */ "Too many open files",
/* 25 ENOTTY */ "", /* uniforum differs */
/* 26 ETXTBSY */ "",
/* 27 EFBIG */ "",
/* 28 ENOSPC */ "No space left on device",
/* 29 ESPIPE */ "",
/* 30 EROFS */ "",
/* 31 EMLINK */ "",
/* 32 EPIPE */ "",
/* 33 EDOM */ "Math argument",
/* 34 ERANGE */ "Result too large",
/* 35 EUCLEAN */ "",
/* 36 EDEADLOCK */ "Resource deadlock would occur", /* uniforum differs */
/* 37 UNKNOWN */ "Unknown error"
};

int _sys_nerr = sizeof( _sys_errlist ) / sizeof( _sys_errlist[ 0 ] ) - 1;

/* The above array contains all the errors including unknown error # 37
which is used if msg_num is unknown */


/* ***NOTE: Parameter _SYS_MSGMAX (in file syserr.h) indicates the length of
the longest systerm error message in the above table. When you add or
modify a message, you must update the value _SYS_MSGMAX, if appropriate. */


  3 Responses to “Category : C++ Source Code
Archive   : VCCRT1.ZIP
Filename : SYSERR.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/