Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2001 16:21:40 -0700 (PDT)
From:      Jonathan Hanna <jh@h24-79-119-53.vc.shawcable.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/30697: mb_fixhdr correction for mbchain.9
Message-ID:  <200109202321.f8KNLew25207@h24-79-119-53.vc.shawcable.net>

next in thread | raw e-mail | index | archive | help

>Number:         30697
>Category:       docs
>Synopsis:       mb_fixhdr correction for mbchain.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 20 16:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Hanna
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD roller.pangolin-systems.com 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Sun Sep 2 19:54:20 PDT 2001 jh@roller.pangolin-systems.com:/homes/obj/homes2/src/sys/ROLLER i386

>Description:

>How-To-Repeat:

>Fix:

--- mbchain.9	2001/09/20 23:04:02	1.1
+++ mbchain.9	2001/09/20 23:12:43
@@ -135,7 +135,7 @@
 .Fn mb_fixhdr
 recalculates the length of an mbuf chain and updates the
 .Va m_pkthdr.len
-field of the first mbuf in the chain.
+field of the first mbuf in the chain. It returns the calculated length.
 .Pp
 .Fn mb_reserve
 ensures that the object of the length specified by the
@@ -191,8 +191,9 @@
 .Sh RETURN VALUES
 All
 .Ft int
-functions return zero if successful,
-otherwise error code is returned.
+functions except
+.Fn mb_fixhdr
+return zero if successful and an error code otherwise.
 .Pp
 .Em Note :
 after failure of any function, an mbuf chain is left in the broken state,
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109202321.f8KNLew25207>