document the m_getjcl function...
This commit is contained in:
parent
fdeb0cb1a9
commit
7b38c6ff68
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user