From owner-freebsd-hackers Fri Nov 10 2:29:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.osd.bsdi.com (adsl-63-206-90-77.dsl.snfc21.pacbell.net [63.206.90.77]) by hub.freebsd.org (Postfix) with ESMTP id 9437537B479 for ; Fri, 10 Nov 2000 02:29:11 -0800 (PST) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.11.0/8.11.1) with ESMTP id eAAAYk906022; Fri, 10 Nov 2000 02:34:47 -0800 (PST) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200011101034.eAAAYk906022@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: opentrax@email.com Cc: bright@wintelcom.net, duan@cs.umn.edu, freebsd-hackers@FreeBSD.ORG Subject: Re: printf() In-reply-to: Your message of "Fri, 10 Nov 2000 02:12:59 PST." <200011101013.CAA01227@spammie.svbug.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 10 Nov 2000 02:34:46 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >> Does the kernel function printf() flushes the output immediately, or it is > >> possible some data is buffered somewhere and gets lost without printing > >> to the console? like the corresponding funtion in the c library. > > > > It's not buffered afaik. > > > Actually my experince in writing drivers (for 386bsd) showed (me) > that the kernel printf() was buffered. Considerable (ie. shitloads) of experience using the kernel printf with FreeBSD (not to mention reading the code line by line as I ported it for libstand) allows me to tell you that it isn't. And you're welcome to go read the code yourself, should you choose to take issue with that. 8) -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message