Add an EILSEQ code (C99, first appeared in C90/AMD1), and update message

catalogs where possible.
This commit is contained in:
kleink 2000-03-10 13:58:59 +00:00
parent c595577502
commit fc34e21eac
7 changed files with 31 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: __errlist14.c,v 1.2 1999/03/22 19:03:39 kleink Exp $ */
/* $NetBSD: __errlist14.c,v 1.3 2000/03/10 13:58:59 kleink Exp $ */
/*
* Copyright (c) 1982, 1985, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)errlst.c 8.2 (Berkeley) 11/16/93";
#else
__RCSID("$NetBSD: __errlist14.c,v 1.2 1999/03/22 19:03:39 kleink Exp $");
__RCSID("$NetBSD: __errlist14.c,v 1.3 2000/03/10 13:58:59 kleink Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -149,7 +149,10 @@ static const char *const __errlist14[] = {
"Identifier removed", /* 82 - EIDRM */
"No message of desired type", /* 83 - ENOMSG */
/* 84 - EOVERFLOW */
"Value too large to be stored in data type"
"Value too large to be stored in data type",
/* Wide/multibyte-character handling, ISO/IEC 9899/AMD1:1995 */
"Illegal byte sequence" /* 85 - EILSEQ */
};
const int __sys_nerr14 = sizeof(__errlist14) / sizeof(__errlist14[0]);

View File

@ -167,6 +167,8 @@ $ ENOMSG
83 No message of desired type
$ EOVERFLOW
84 Value too large to be stored in data type
$ EILSEQ
85 Illegal byte sequence
$set 2
$ SIGHUP
1 Hangup

View File

@ -165,6 +165,10 @@ $ EIDRM
82 Identifierway emovedray
$ ENOMSG
83 Onay essagemay ofway esiredday ypetay
$ EOVERFLOW
84 Aluevay ootay argelay otay ebay oredstay inway ataday ypetay
$ EILSEQ
85 Illegalway ytebay equencesay
$set 2
$ SIGHUP
1 Anguphay

View File

@ -165,6 +165,10 @@ $ EIDRM
82 Identifizierung entfernt
$ ENOMSG
83 Keine Nachricht vom gewünschten Typ
$ EOVERFLOW
84 Wert zu groß, um in Datentyp zu speichern
$ EILSEQ
85 Illegale Byte-Sequenz
$set 2
$ SIGHUP
1 Verbindungsende

View File

@ -104,7 +104,7 @@ $ ENETUNREACH
$ ENETRESET
52 La conexión a la red se interrumpió al reinicializar
$ ECONNABORTED
53 La conexi@@@n se ha abortado debid a problemas en el software
53 La conexión se ha abortado debid a problemas en el software
$ ECONNRESET
54 El interlocutor ha reinicializado la comunicación
$ ENOBUFS
@ -163,6 +163,12 @@ $ ENEEDAUTH
81 Authenticator de la necesidad
$ EIDRM
82 Identificador quitado
$ ENOMSG
83 Ninjún mensaje del tipo deseado
$ EOVERFLOW
84 Valor demasiado grande para almacenar en tipo des datos
$ EILSEQ
85 Sequencia de bytes no legal
$set 2
$ SIGHUP
1 Bloqueo del sistema

View File

@ -165,6 +165,10 @@ $ EIDRM
82 Identifiant supprimé
$ ENOMSG
83 Pas de message du type demandé
$ EOVERFLOW
84 Valeur trop grande pour stocker dans le type de données
$ EILSEQ
85 Séquence d'octets illégale
$set 2
$ SIGHUP
1 Raccroché

View File

@ -1,4 +1,4 @@
/* $NetBSD: errno.h,v 1.22 1999/03/22 19:03:38 kleink Exp $ */
/* $NetBSD: errno.h,v 1.23 2000/03/10 13:59:02 kleink Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@ -159,9 +159,11 @@
#define EIDRM 82 /* Identifier removed */
#define ENOMSG 83 /* No message of desired type */
#define EOVERFLOW 84 /* Value too large to be stored in data type */
#define ELAST 84 /* Must equal largest errno */
#endif /* _POSIX_SOURCE */
#define EILSEQ 85 /* Illegal byte sequence */
#define ELAST 85 /* Must equal largest errno */
#ifdef _KERNEL
/* pseudo-errors returned inside kernel to modify return to process */
#define ERESTART -1 /* restart syscall */