Date: Wed, 26 Jan 2011 09:37:13 +0000 (GMT) From: Robert Watson <rwatson@FreeBSD.org> To: Matthew D Fleming <mdf@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r217830 - head/share/man/man9 Message-ID: <alpine.BSF.2.00.1101260929430.44308@fledge.watson.org> In-Reply-To: <201101251739.p0PHdqKX044842@svn.freebsd.org> References: <201101251739.p0PHdqKX044842@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1101260929430.44308>