Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 Remove m_prepend from the man page, it's a he...



details:   https://anonhg.NetBSD.org/src/rev/6ced0da5420e
branches:  trunk
changeset: 322239:6ced0da5420e
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu Apr 26 07:48:21 2018 +0000

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

diffstat:

 share/man/man9/mbuf.9 |  28 ++++++----------------------
 1 files changed, 6 insertions(+), 22 deletions(-)

diffs (70 lines):

diff -r bb22f0876fa5 -r 6ced0da5420e share/man/man9/mbuf.9
--- a/share/man/man9/mbuf.9     Thu Apr 26 07:46:24 2018 +0000
+++ b/share/man/man9/mbuf.9     Thu Apr 26 07:48:21 2018 +0000
@@ -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 @@
 .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 @@
 .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



Home | Main Index | Thread Index | Old Index