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/2f653b024e7a
branches:  trunk
changeset: 458679:2f653b024e7a
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 a352f00e12a6 -r 2f653b024e7a 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