diff options
author | jh <jh@FreeBSD.org> | 2011-12-09 13:28:41 +0000 |
---|---|---|
committer | jh <jh@FreeBSD.org> | 2011-12-09 13:28:41 +0000 |
commit | a274e72947d9b0f3729b2d06c42826a43ec46097 (patch) | |
tree | 961d4710c8af20797a059d76b6a3d79807a849a0 /share | |
parent | e24a24747620a375df38a58e7dda6ba531cd441b (diff) | |
download | FreeBSD-src-a274e72947d9b0f3729b2d06c42826a43ec46097.zip FreeBSD-src-a274e72947d9b0f3729b2d06c42826a43ec46097.tar.gz |
sbuf_data() hasn't returned NULL for overflowed buffers since r71721.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/sbuf.9 | 8 |
1 files 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 |