Add ENOMSG.

This commit is contained in:
kleink 1998-02-08 19:04:31 +00:00
parent 223caea788
commit 7cf291e0dd
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: errlist.c,v 1.7 1998/02/06 08:44:21 mikel Exp $ */
/* $NetBSD: errlist.c,v 1.8 1998/02/08 19:07:13 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: errlist.c,v 1.7 1998/02/06 08:44:21 mikel Exp $");
__RCSID("$NetBSD: errlist.c,v 1.8 1998/02/08 19:07:13 kleink Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -147,5 +147,6 @@ const char *const _sys_errlist[] = {
/* SystemV IPC */
"Identifier removed", /* 82 - EIDRM */
"No message of desired type", /* 83 - ENOMSG */
};
const int _sys_nerr = { sizeof _sys_errlist/sizeof _sys_errlist[0] };

View File

@ -1,4 +1,4 @@
/* $NetBSD: errno.h,v 1.17 1998/02/06 08:20:35 mikel Exp $ */
/* $NetBSD: errno.h,v 1.18 1998/02/08 19:04:31 kleink Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@ -175,7 +175,8 @@ __END_DECLS
/* SystemV IPC */
#define EIDRM 82 /* Identifier removed */
#define ELAST 82 /* Must equal largest errno */
#define ENOMSG 83 /* No message of desired type */
#define ELAST 83 /* Must equal largest errno */
#endif /* _POSIX_SOURCE */
#ifdef _KERNEL