summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/errlist.c6
-rw-r--r--lib/libc/sys/intro.212
2 files changed, 15 insertions, 3 deletions
diff --git a/lib/libc/gen/errlist.c b/lib/libc/gen/errlist.c
index c7afd9c26b4..f5480a6af1b 100644
--- a/lib/libc/gen/errlist.c
+++ b/lib/libc/gen/errlist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: errlist.c,v 1.18 2015/10/24 10:42:02 bluhm Exp $ */
+/* $OpenBSD: errlist.c,v 1.19 2017/09/05 03:06:26 jsg Exp $ */
/*
* Copyright (c) 1982, 1985, 1993
* The Regents of the University of California. All rights reserved.
@@ -142,6 +142,10 @@ const char *const sys_errlist[] = {
"Identifier removed", /* 89 - EIDRM */
"No message of desired type", /* 90 - ENOMSG */
"Not supported", /* 91 - ENOTSUP */
+ "Bad message", /* 92 - EBADMSG */
+ "State not recoverable", /* 93 - ENOTRECOVERABLE */
+ "Previous owner died", /* 94 - EOWNERDEAD */
+ "Protocol error", /* 95 - EPROTO */
};
const int sys_nerr = { sizeof sys_errlist/sizeof sys_errlist[0] };
#if 0
diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2
index f61baf5ecc6..333fa90c604 100644
--- a/lib/libc/sys/intro.2
+++ b/lib/libc/sys/intro.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: intro.2,v 1.64 2016/04/17 14:36:44 jmc Exp $
+.\" $OpenBSD: intro.2,v 1.65 2017/09/05 03:06:26 jsg Exp $
.\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $
.\"
.\" Copyright (c) 1980, 1983, 1986, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)intro.2 8.3 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: April 17 2016 $
+.Dd $Mdocdate: September 5 2017 $
.Dt INTRO 2
.Os
.Sh NAME
@@ -425,6 +425,14 @@ An IPC message queue does not contain a message of the desired type,
or a message catalog does not contain the requested message.
.It Er 91 ENOTSUP Em "Not supported" .
The operation has requested an unsupported value.
+.It Er 92 EBADMSG Em "Bad message" .
+A corrupted message was detected.
+.It Er 93 ENOTRECOVERABLE Em "State not recoverable" .
+The state protected by a robust mutex is not recoverable.
+.It Er 94 EOWNERDEAD Em "Previous owner died" .
+The owner of a robust mutex terminated while holding the mutex lock.
+.It Er 95 EPROTO Em "Protocol error" .
+A device-specific protocol error occurred.
.El
.Sh DEFINITIONS
.Bl -tag -width Ds