Fix up the description of m_copyback_cow(), which was at best

ambiguous, and at worst, wrong.
This commit is contained in:
riz 2006-03-29 19:36:55 +00:00
parent 782e550804
commit 9cb092c876
1 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mbuf.9,v 1.40 2005/08/23 09:34:11 yamt Exp $
.\" $NetBSD: mbuf.9,v 1.41 2006/03/29 19:36:55 riz Exp $
.\"
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -34,7 +34,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd August 23, 2005
.Dd March 29, 2006
.Dt MBUF 9
.Os
.Sh NAME
@ -360,12 +360,11 @@ on read-only mbufs.
If needed,
.Fn m_copyback_cow
automatically allocates new mbufs and adjusts the chain.
It returns a pointer to the resulting mbuf chain on success.
On success, it returns a pointer to the resulting mbuf chain,
and frees the original mbuf
.Fa m0 .
Otherwise, it returns
.Dv NULL .
In that case, the original mbuf
.Fa m0
will be freed.
The
.Fa how
parameter is a choice of