Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 document behavior of M_{LEADING, TRAILING}SPAC...



details:   https://anonhg.NetBSD.org/src/rev/ab3394554708
branches:  trunk
changeset: 513338:ab3394554708
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sat Jul 28 16:19:12 2001 +0000

description:
document behavior of M_{LEADING,TRAILING}SPACE when mbuf data portion is shared.
(NOTE: this is a netbsd-only behavior)

diffstat:

 share/man/man9/mbuf.9 |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r e2a28faeb54d -r ab3394554708 share/man/man9/mbuf.9
--- a/share/man/man9/mbuf.9     Sat Jul 28 15:55:14 2001 +0000
+++ b/share/man/man9/mbuf.9     Sat Jul 28 16:19:12 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mbuf.9,v 1.15 2001/06/28 23:15:24 itojun Exp $
+.\"    $NetBSD: mbuf.9,v 1.16 2001/07/28 16:19:12 itojun Exp $
 .\"
 .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -566,11 +566,15 @@
 Returns the amount of space available before the current start of valid
 data in mbuf
 .Fa m .
+Returns 0 if the mbuf data part is shared across multiple mbufs
+.Pq i.e. not writable .
 Implemented as a macro.
 .It Fn M_TRAILINGSPACE "struct mbuf *m"
 Returns the amount of space available after the current end of valid
 data in mbuf
 .Fa m .
+Returns 0 if the mbuf data part is shared across multiple mbufs
+.Pq i.e. not writable .
 Implemented as a macro.
 .It Fn M_PREPEND "struct mbuf *m" "int plen" "int how"
 Prepends space of size



Home | Main Index | Thread Index | Old Index