summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-08-28 19:02:47 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-08-28 19:02:47 +0000
commitd14403bd3dd3a1369a6950323bee00e2604f4234 (patch)
tree6de1a276fd524b2972582e2122dda3f754afc295 /share/man/man9
parent2ab81832b20fd389cafab35fe8cec780751dfd33 (diff)
sync MEXTADD prototype with reality.
it takes an extra "size" argument. ok jmc@, deraadt@
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/mbuf.96
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index ad108bac470..16e04681562 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbuf.9,v 1.19 2005/04/25 23:33:40 brad Exp $
+.\" $OpenBSD: mbuf.9,v 1.20 2006/08/28 19:02:46 damien Exp $
.\"
.\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol <jjbg@openbsd.org>
.\" All rights reserved.
@@ -85,7 +85,7 @@
"int (*func)(caddr_t, caddr_t, unsigned int)" "caddr_t fstate"
.Fn MEXTMALLOC "struct mbuf *m" "int size" "int how"
.Fn MCLGET "struct mbuf *m" "int how"
-.Fn MEXTADD "struct mbuf *m" "caddr_t buf" "int type" \
+.Fn MEXTADD "struct mbuf *m" "caddr_t buf" "u_int size" "int type" \
"void (*free)(caddr_t, u_int, void *)" "void *arg"
.Fn M_ALIGN "struct mbuf *m" "int len"
.Fn MH_ALIGN "struct mbuf *m" "int len"
@@ -600,7 +600,7 @@ See
.Fn m_get
for a description of
.Fa how .
-.It Fn MEXTADD "struct mbuf *m" "caddr_t buf" "int type" \
+.It Fn MEXTADD "struct mbuf *m" "caddr_t buf" "u_int size" "int type" \
"void (*free)(caddr_t, u_int, void *)" "void *arg"
Add pre-allocated storage to the mbuf pointed to by
.Fa m .