document the m_getjcl function...

This commit is contained in:
John-Mark Gurney 2013-12-20 23:57:05 +00:00
parent af34024a21
commit 5c35eb22d4
2 changed files with 9 additions and 0 deletions

View File

@ -901,6 +901,7 @@ MLINKS+=\
mbuf.9 m_freem.9 \
mbuf.9 MGET.9 \
mbuf.9 m_get.9 \
mbuf.9 m_getjcl.9 \
mbuf.9 m_getcl.9 \
mbuf.9 m_getclr.9 \
mbuf.9 MGETHDR.9 \

View File

@ -74,6 +74,8 @@
.Ft struct mbuf *
.Fn m_getm "struct mbuf *orig" "int len" "int how" "int type"
.Ft struct mbuf *
.Fn m_getjcl "int how" "short type" "int flags" "int size"
.Ft struct mbuf *
.Fn m_getcl "int how" "short type" "int flags"
.Ft struct mbuf *
.Fn m_getclr "int how" "int type"
@ -592,6 +594,12 @@ together, as it avoids having to unlock/relock between allocations.
Returns
.Dv NULL
on failure.
.It Fn m_getjcl how type flags size
This is like
.Fn m_getcl
but it the size of the cluster allocated will be large enough for
.Fa size
bytes.
.It Fn m_getclr how type
Allocate an
.Vt mbuf