svn commit: r217830 - head/share/man/man9
Robert Watson
rwatson at FreeBSD.org
Wed Jan 26 09:37:14 UTC 2011
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
More information about the svn-src-head
mailing list