summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-12-08 17:47:49 +0000
committersam <sam@FreeBSD.org>2004-12-08 17:47:49 +0000
commit18e5f36d99f664454f7e3a997620fb7d037813e9 (patch)
tree9031122c0911d5f2f0ae421e506de34b602e5b23 /share/man
parent159fb6e9ec883a0a976c4599cfad7630fd1fd72a (diff)
downloadFreeBSD-src-18e5f36d99f664454f7e3a997620fb7d037813e9.zip
FreeBSD-src-18e5f36d99f664454f7e3a997620fb7d037813e9.tar.gz
document m_append
Diffstat (limited to 'share/man')
-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 d6572444..964a380 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
OpenPOWER on IntegriCloud