From owner-freebsd-hackers Fri Nov 10 2:15:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from spammie.svbug.com (mg136-070.ricochet.net [204.179.136.70]) by hub.freebsd.org (Postfix) with ESMTP id AD05237B479 for ; Fri, 10 Nov 2000 02:15:35 -0800 (PST) Received: from spammie.svbug.com (localhost.mozie.org [127.0.0.1]) by spammie.svbug.com (8.9.3/8.9.3) with ESMTP id CAA01227; Fri, 10 Nov 2000 02:13:01 -0800 (PST) (envelope-from jessem@spammie.svbug.com) Message-Id: <200011101013.CAA01227@spammie.svbug.com> Date: Fri, 10 Nov 2000 02:12:59 -0800 (PST) From: opentrax@email.com Reply-To: opentrax@email.com Subject: Re: printf() To: bright@wintelcom.net Cc: duan@cs.umn.edu, freebsd-hackers@FreeBSD.ORG In-Reply-To: <20001109214403.V11449@fw.wintelcom.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 9 Nov, Alfred Perlstein wrote: > * Zhenhai Duan [001109 21:09] wrote: >> A simple question: >> >> 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. Jessem. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message