summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-07-08 07:21:51 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-07-08 07:21:51 +0000
commit2ba1da741eece2e48d873218c398e3aa44dca370 (patch)
treed5ef24e7e232673326c4a1a32167ab2f8209a73f /share
parent1ee407e55aa3f3cac0a24b80e1352821adebfbce (diff)
MFREE(9) is dead, long live m_freem(9)!
ok bluhm@, claudio@, dlg@
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/Makefile4
-rw-r--r--share/man/man9/mbuf.914
2 files changed, 4 insertions, 14 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 32d14b252b1..ded507f946c 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.236 2015/07/02 01:35:45 dlg Exp $
+# $OpenBSD: Makefile,v 1.237 2015/07/08 07:21:49 mpi Exp $
# $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@@ -242,7 +242,7 @@ MLINKS+=log.9 addlog.9
MLINKS+=malloc.9 mallocarray.9 malloc.9 free.9
MLINKS+=membar_sync.9 membar_enter.9 membar_sync.9 membar_exit.9 \
membar_sync.9 membar_producer.9 membar_sync.9 membar_consumer.9
-MLINKS+=mbuf.9 m_copym2.9 mbuf.9 m_copym.9 mbuf.9 m_free.9 mbuf.9 MFREE.9 \
+MLINKS+=mbuf.9 m_copym2.9 mbuf.9 m_copym.9 mbuf.9 m_free.9 \
mbuf.9 m_get.9 mbuf.9 MGET.9 mbuf.9 m_getclr.9 mbuf.9 m_gethdr.9 \
mbuf.9 MGETHDR.9 mbuf.9 m_prepend.9 mbuf.9 M_PREPEND.9 \
mbuf.9 m_pulldown.9 mbuf.9 m_pullup.9 \
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index 87e75f7fdf5..d8dc1731c3a 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbuf.9,v 1.87 2015/06/17 06:24:46 mpi Exp $
+.\" $OpenBSD: mbuf.9,v 1.88 2015/07/08 07:21:49 mpi Exp $
.\"
.\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol <jjbg@openbsd.org>
.\" All rights reserved.
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 17 2015 $
+.Dd $Mdocdate: July 8 2015 $
.Dt MBUF 9
.Os
.Sh NAME
@@ -39,7 +39,6 @@
.Fn m_copym "struct mbuf *m" "int off" "int len" "int wait"
.Ft struct mbuf *
.Fn m_free "struct mbuf *m"
-.Fn MFREE "struct mbuf *m" "struct mbuf *n"
.Ft struct mbuf *
.Fn m_get "int how" "int type"
.Fn MGET "struct mbuf *m" "int how" "int type"
@@ -393,15 +392,6 @@ Free the mbuf pointed to by
.Fa m .
A pointer to the successor of the mbuf,
if it exists, is returned by the function.
-.It Fn MFREE "struct mbuf *m" "struct mbuf *n"
-Free the mbuf pointed to by
-.Fa m
-and use
-.Fa n
-to point to the next mbuf in
-the chain if it exists.
-See
-.Fn m_free .
.It Fn m_get "int how" "int type"
Return a pointer to an mbuf of the type specified.
If the