Added EILSEQ, based on newsgroup post by Leith

This commit is contained in:
Erik van der Kouwe 2009-12-31 11:48:08 +00:00
parent 1489f14b37
commit c42de8045f
2 changed files with 2 additions and 1 deletions

View file

@ -76,6 +76,7 @@ extern int errno; /* place where the error numbers go */
#define ELOOP (_SIGN 40) /* too many levels of symlinks detected */
#define ERESTART (_SIGN 41) /* driver restarted */
#define EIDRM (_SIGN 43) /* Identifier removed */
#define EILSEQ (_SIGN 44) /* illegal byte sequence */
/* The following errors relate to networking. */
#define EPACKSIZE (_SIGN 50) /* invalid packet size for some protocol */

View file

@ -53,7 +53,7 @@ const char *_sys_errlist[] = {
"Driver restarted", /* ERESTART */
unknown, /* 42 */
"Identifier removed", /* EIDRM */
unknown, /* 44 */
"Illegal byte sequence", /* EILSEQ */
unknown, /* 45 */
unknown, /* 46 */
unknown, /* 47 */