summaryrefslogtreecommitdiffstats
path: root/share/man/man9/sbuf.9
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-07-09 11:38:59 +0000
committerdes <des@FreeBSD.org>2004-07-09 11:38:59 +0000
commitaf4e696e953ece3f0cf7c417ca94d4beea014cf7 (patch)
tree6820b533c31498c4794a2ccbc6e8618c163f7726 /share/man/man9/sbuf.9
parent9c6b715afb6e9d13d44fc5d6b5bb34207b2202f9 (diff)
downloadFreeBSD-src-af4e696e953ece3f0cf7c417ca94d4beea014cf7.zip
FreeBSD-src-af4e696e953ece3f0cf7c417ca94d4beea014cf7.tar.gz
The type and name of sbuf_b{cat,cpy}()'s second argument have changed.
Diffstat (limited to 'share/man/man9/sbuf.9')
-rw-r--r--share/man/man9/sbuf.912
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man9/sbuf.9 b/share/man/man9/sbuf.9
index d14298b..3acaae1 100644
--- a/share/man/man9/sbuf.9
+++ b/share/man/man9/sbuf.9
@@ -59,11 +59,11 @@
.Ft int
.Fn sbuf_setpos "struct sbuf *s" "int pos"
.Ft int
-.Fn sbuf_bcat "struct sbuf *s" "const char *str" "size_t len"
+.Fn sbuf_bcat "struct sbuf *s" "const void *buf" "size_t len"
.Ft int
.Fn sbuf_bcopyin "struct sbuf *s" "const void *uaddr" "size_t len"
.Ft int
-.Fn sbuf_bcpy "struct sbuf *s" "const char *str" "size_t len"
+.Fn sbuf_bcpy "struct sbuf *s" "const void *buf" "size_t len"
.Ft int
.Fn sbuf_cat "struct sbuf *s" "const char *str"
.Ft int
@@ -177,8 +177,8 @@ The
.Fn sbuf_bcat
function appends the first
.Fa len
-bytes from the byte string
-.Fa str
+bytes from the buffer
+.Fa buf
to the
.Fa sbuf .
.Pp
@@ -195,8 +195,8 @@ function replaces the contents of the
.Fa sbuf
with the first
.Fa len
-bytes from the byte string
-.Fa str .
+bytes from the buffer
+.Fa buf .
.Pp
The
.Fn sbuf_cat
OpenPOWER on IntegriCloud