diff options
author | murray <murray@FreeBSD.org> | 2001-09-24 06:30:52 +0000 |
---|---|---|
committer | murray <murray@FreeBSD.org> | 2001-09-24 06:30:52 +0000 |
commit | 444b1f5574b078e903ecb2505e913695ecdc8d58 (patch) | |
tree | 6364f42db59579ee32ffe8c0e88e201a35484697 | |
parent | fc8e0b7bddf0a421ca846b384c881106f8410de4 (diff) | |
download | FreeBSD-src-444b1f5574b078e903ecb2505e913695ecdc8d58.zip FreeBSD-src-444b1f5574b078e903ecb2505e913695ecdc8d58.tar.gz |
Correctly document the return value of mb_fixhdr.
PR: docs/30697
Submitted by: Jonathan Hanna <jhanna@home.com>
Reviewed by: bp
-rw-r--r-- | share/man/man9/mbchain.9 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/man/man9/mbchain.9 b/share/man/man9/mbchain.9 index a62580d..f00aa41 100644 --- a/share/man/man9/mbchain.9 +++ b/share/man/man9/mbchain.9 @@ -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, |