1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Correctly document the return value of mb_fixhdr.

PR:		docs/30697
Submitted by:	Jonathan Hanna <jhanna@home.com>
Reviewed by:	bp
This commit is contained in:
Murray Stokely 2001-09-24 06:30:52 +00:00
parent 078156d09d
commit fa1b1bbc3f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83874

View File

@ -136,6 +136,7 @@ field and sets its value to
recalculates the length of an mbuf chain and updates the
.Va m_pkthdr.len
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 +192,9 @@ field
.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,