aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/mbuf.9
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2004-12-08 17:47:49 +0000
committerSam Leffler <sam@FreeBSD.org>2004-12-08 17:47:49 +0000
commitb9def06b296e93158deabd2aac154e9cd0fa8f64 (patch)
tree9031122c0911d5f2f0ae421e506de34b602e5b23 /share/man/man9/mbuf.9
parent014be7fb7ead3a7cb46ed4d0128ae0051805c2f5 (diff)
downloadsrc-b9def06b296e93158deabd2aac154e9cd0fa8f64.tar.gz
src-b9def06b296e93158deabd2aac154e9cd0fa8f64.zip
document m_append
Notes
Notes: svn path=/head/; revision=138580
Diffstat (limited to 'share/man/man9/mbuf.9')
-rw-r--r--share/man/man9/mbuf.912
1 files changed, 12 insertions, 0 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index d65724440d8b..964a3803ccc5 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -90,6 +90,8 @@
.Ss Mbuf utility functions
.Ft void
.Fn m_adj "struct mbuf *mbuf" "int len"
+.Ft int
+.Fn m_append "struct mbuf *mbuf" "int len" "c_caddr_t cp"
.Ft struct mbuf *
.Fn m_prepend "struct mbuf *mbuf" "int len" "int how"
.Ft struct mbuf *
@@ -581,6 +583,16 @@ if
.Fa len
is positive, from the tail otherwise.
.\"
+.It Fn m_append mbuf len cp
+Append
+.Vt len
+bytes of data
+.Vt cp
+to the
+.Vt mbuf chain .
+Extend the mbuf chain if the new data does not fit in
+existing space.
+.\"
.It Fn m_prepend mbuf len how
Allocate a new
.Vt mbuf