Module Name:    src
Committed By:   maxv
Date:           Thu Apr 26 07:48:21 UTC 2018

Modified Files:
        src/share/man/man9: mbuf.9

Log Message:
Remove m_prepend from the man page, it's a helper, and is not supposed to
be part of the API.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/share/man/man9/mbuf.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/mbuf.9
diff -u src/share/man/man9/mbuf.9:1.57 src/share/man/man9/mbuf.9:1.58
--- src/share/man/man9/mbuf.9:1.57	Tue Apr 10 16:12:29 2018
+++ src/share/man/man9/mbuf.9	Thu Apr 26 07:48:21 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: mbuf.9,v 1.57 2018/04/10 16:12:29 maxv Exp $
+.\"	$NetBSD: mbuf.9,v 1.58 2018/04/26 07:48:21 maxv Exp $
 .\"
 .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 10, 2018
+.Dd April 26, 2018
 .Dt MBUF 9
 .Os
 .Sh NAME
@@ -43,7 +43,6 @@
 .Nm m_cat ,
 .Nm m_dup ,
 .Nm m_makewritable ,
-.Nm m_prepend ,
 .Nm m_pulldown ,
 .Nm m_pullup ,
 .Nm m_copyup ,
@@ -92,8 +91,6 @@
 .Ft struct mbuf *
 .Fn m_dup "struct mbuf *m" "int off0" "int len" "int wait"
 .Ft struct mbuf *
-.Fn m_prepend "struct mbuf *m" "int len" "int how"
-.Ft struct mbuf *
 .Fn m_pulldown "struct mbuf *m" "int off" "int len" "int *offp"
 .Ft struct mbuf *
 .Fn m_pullup "struct mbuf *n" "int len"
@@ -404,23 +401,6 @@ flag,
 .Fn m_dup
 will deep-copy the whole data content into new mbuf chain
 and avoids shared external storage.
-.It Fn m_prepend "struct mbuf *m" "int len" "int how"
-Lesser-used path for
-.Fn M_PREPEND :
-allocates new mbuf
-.Fa m
-of size
-.Fa len
-to prepend to the chain, copying junk along.
-The
-.Fa how
-parameter is a choice of
-.Dv M_WAIT / M_DONTWAIT
-from caller.
-It is illegal for the
-.Fa len
-parameter to be greater than
-.Dv MHLEN .
 .It Fn m_pulldown "struct mbuf *m" "int off" "int len" "int *offp"
 Rearranges an mbuf chain so that
 .Fa len
@@ -709,6 +689,10 @@ and allocation fails, the original mbuf 
 .Fa m
 is set to
 .Dv NULL .
+It is illegal for the
+.Fa plen
+parameter to be greater than
+.Dv MHLEN .
 Implemented as a macro.
 .It Fn MCHTYPE "struct mbuf *m" "int type"
 Change mbuf

Reply via email to