Date: 26 Feb 2001 08:44:37 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: "Kenneth D. Merry" <ken@kdm.org> Cc: arch@FreeBSD.ORG Subject: Re: sbufs in userland Message-ID: <xzpelwlc2hm.fsf@flood.ping.uio.no> In-Reply-To: "Kenneth D. Merry"'s message of "Mon, 26 Feb 2001 00:33:19 -0700" References: <20010226003319.A19994@panzer.kdm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"Kenneth D. Merry" <ken@kdm.org> writes: > 2. If we do put sbufs in userland, what is the best way to do it? Whichever way you do it, you need to change userland sprintf() to behave like kernel sprintf(), i.e. use a backend function that does the actual formatting and takes a pointer to a character output function, instead of what it currently does, which is to fake a FILE structure with the target string as buffer. DES -- Dag-Erling Smorgrav - des@ofug.org 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?xzpelwlc2hm.fsf>