Date: Sat, 27 Jan 2001 15:49:40 -0700 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: Dag-Erling Smorgrav <des@ofug.org> Cc: freebsd-arch@FreeBSD.ORG Subject: Re: Proposed change to sbuf semantics Message-ID: <200101272249.f0RMneO30798@aslan.scsiguy.com> In-Reply-To: Your message of "27 Jan 2001 23:43:02 %2B0100." <xzp66j0r4zt.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
>--=-=-= > >"Justin T. Gibbs" <gibbs@scsiguy.com> writes: >> >Is this acceptable to you? >> I still would need an "sbuf_empty()" type method. > >This better? I still need an "sbuf_empty()" type method. 8-) Or did I miss something in the diff? In otherwords, I'd like to be able to test if an sbuf has been written to before it has been finalized so you can do things like: if (sbuf_empty(sbuf) == 0) sbuf_cat(sbuf, ", "); sbuf_ .... -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101272249.f0RMneO30798>