Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2001 16:49:53 -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:  <200101272349.f0RNnrO31566@aslan.scsiguy.com>
In-Reply-To: Your message of "28 Jan 2001 00:06:37 %2B0100." <xzpwvbgppc2.fsf@flood.ping.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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:
>
>Well, you can use sbuf_len() for that. It returns 0 if the sbuf is
>empty, -1 if it overflowed, and the length of its contents otherwise.

I thought that sbuf_len() required a finalized buffer.  Did you change
this in your patches?

--
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?200101272349.f0RNnrO31566>