Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys read(2): Document ENOBUFS



details:   https://anonhg.NetBSD.org/src/rev/9f7c5bddbf11
branches:  trunk
changeset: 844170:9f7c5bddbf11
user:      roy <roy%NetBSD.org@localhost>
date:      Wed Aug 07 01:09:49 2019 +0000

description:
read(2): Document ENOBUFS

diffstat:

 lib/libc/sys/read.2 |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 3f69e5c0358f -r 9f7c5bddbf11 lib/libc/sys/read.2
--- a/lib/libc/sys/read.2       Wed Aug 07 00:39:23 2019 +0000
+++ b/lib/libc/sys/read.2       Wed Aug 07 01:09:49 2019 +0000
@@ -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 @@
 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,



Home | Main Index | Thread Index | Old Index