Re: svn commit: r217830 - head/share/man/man9

[ Available lists | Index of svn-src-all | Month of Jan 2011 | Week of 26 Jan 2011 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Robert Watson <rwatson@FreeBSD.org>
Date
26 Jan 2011 09:37:14
Subject
Re: svn commit: r217830 - head/share/man/man9
Message-ID
alpine.BSF.2.00.1101260929430.44308@fledge.watson.org


[ Hide this part ]
On Tue, 25 Jan 2011, Matthew D Fleming wrote:

> .Dv SBUF_AUTOEXTEND .
> .Pp
> The
> +.Fn sbuf_new_for_sysctl
> +function will set up an sbuf with a drain function to use
> +.Fn SYSCTL_OUT
> +when the internal buffer fills.
> +The sysctl old buffer will be wired, which allows for doing an
> +.Fn sbuf_printf
> +while holding a mutex.
> +.Pp
> +The
> .Fn sbuf_delete
> function clears the
> .Fa sbuf

Hmm. Is this description missing mention of how wiring failures are handled?
(Also, it should probably mention that this call can sleep for potentially
quite long periods of time, even if sbuf_printf (and friends) can't).

Robert


Elapsed time: 0.661 seconds