summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2014-04-30 08:51:30 +0000
committerkevlo <kevlo@FreeBSD.org>2014-04-30 08:51:30 +0000
commitc3b6e24c0cbb2ca1ac938ce6f787e38665c55f50 (patch)
tree387216a3ef5e3ca3c55181a33b11985a15d45318
parent6fa6ea8f0176799ba9051edb10abfc3b43b60638 (diff)
downloadFreeBSD-src-c3b6e24c0cbb2ca1ac938ce6f787e38665c55f50.zip
FreeBSD-src-c3b6e24c0cbb2ca1ac938ce6f787e38665c55f50.tar.gz
Document m_get2().
Reviewed by: glebius
-rw-r--r--share/man/man9/Makefile1
-rw-r--r--share/man/man9/mbuf.98
2 files changed, 8 insertions, 1 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 37ba7f2..2ecaf64 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -902,6 +902,7 @@ MLINKS+=\
mbuf.9 m_freem.9 \
mbuf.9 MGET.9 \
mbuf.9 m_get.9 \
+ mbuf.9 m_get2.9 \
mbuf.9 m_getjcl.9 \
mbuf.9 m_getcl.9 \
mbuf.9 m_getclr.9 \
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index 0426221..9b75c61 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 16, 2014
+.Dd April 30, 2014
.Dt MBUF 9
.Os
.\"
@@ -72,6 +72,8 @@
.Ft struct mbuf *
.Fn m_get "int how" "short type"
.Ft struct mbuf *
+.Fn m_get2 "int size" "int how" "short type" "int flags"
+.Ft struct mbuf *
.Fn m_getm "struct mbuf *orig" "int len" "int how" "short type"
.Ft struct mbuf *
.Fn m_getjcl "int how" "short type" "int flags" "int size"
@@ -528,6 +530,10 @@ The functions are:
A function version of
.Fn MGET
for non-critical paths.
+.It Fn m_get2 size how type flags
+Allocate an
+.Vt mbuf
+with enough space to hold specified amount of data.
.It Fn m_getm orig len how type
Allocate
.Fa len
OpenPOWER on IntegriCloud