summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorroy <roy@NetBSD.org>2019-08-07 01:09:49 +0000
committerroy <roy@NetBSD.org>2019-08-07 01:09:49 +0000
commiteaac043ccc3abab37b8e48acf01656adfed417ca (patch)
tree646cc7631881908fb298dffb9f03383d3345b6c3 /lib/libc/sys
parenta7abadf6267621a5d8ce098d6b407ed7461b2d7a (diff)
read(2): Document ENOBUFS
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/read.26
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2
index aaeec8c4a3f..3d417cb437c 100644
--- a/lib/libc/sys/read.2
+++ b/lib/libc/sys/read.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: read.2,v 1.36 2017/07/03 21:32:50 wiz Exp $
+.\" $NetBSD: read.2,v 1.37 2019/08/07 01:09:49 roy Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)read.2 8.4 (Berkeley) 2/26/94
.\"
-.Dd December 12, 2011
+.Dd August 07, 2019
.Dt READ 2
.Os
.Sh NAME
@@ -171,6 +171,8 @@ or
The
.Fn readdir
function should be used instead.
+.It Bq Er ENOBUFS
+A message was not delivered because it would have overflowed the buffer.
.El
.Pp
In addition,