From a274e72947d9b0f3729b2d06c42826a43ec46097 Mon Sep 17 00:00:00 2001 From: jh Date: Fri, 9 Dec 2011 13:28:41 +0000 Subject: sbuf_data() hasn't returned NULL for overflowed buffers since r71721. --- share/man/man9/sbuf.9 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/share/man/man9/sbuf.9 b/share/man/man9/sbuf.9 index 3ea2db3..4ee05f4 100644 --- a/share/man/man9/sbuf.9 +++ b/share/man/man9/sbuf.9 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 25, 2011 +.Dd December 9, 2011 .Dt SBUF 9 .Os .Sh NAME @@ -463,12 +463,8 @@ function returns a non-zero value if the buffer has an overflow or drain error, and zero otherwise. .Pp The -.Fn sbuf_data -and .Fn sbuf_len -functions return -.Dv NULL -and \-1, respectively, if the buffer overflowed. +function returns \-1 if the buffer overflowed. .Pp The .Fn sbuf_copyin -- cgit v1.1