Subject: Re: m_copy - doesn't copy if M_EXT is set.
To: Justin C. Walker <firstname.lastname@example.org>
From: Ignatios Souvatzis <email@example.com>
Date: 10/04/1999 22:26:55
On Mon, Oct 04, 1999 at 01:14:33PM -0700, Justin C. Walker wrote:
> It's in the 4.3 BSD book, and I'm pretty sure it's been that way
> since clusters were introduced. The idea was to avoid a lot of
> copying. It just has that one nasty little side-effect (it doesn't
> really produce a copy).
Yes... the idea is that you only copy stuff if you need the original +
the original with some bytes trimmed off or appended to the start or end.
btw, m_split just increases cluster reference counts, too.