Date: Fri, 10 Nov 2000 12:49:47 -0700 From: Warner Losh <imp@village.org> To: Zhenhai Duan <duan@cs.umn.edu> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: printf() Message-ID: <200011101949.MAA50988@harmony.village.org> In-Reply-To: Your message of "Thu, 09 Nov 2000 23:08:46 CST." <Pine.LNX.4.10.10011092306100.24982-100000@barber.cs.umn.edu> References: <Pine.LNX.4.10.10011092306100.24982-100000@barber.cs.umn.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.LNX.4.10.10011092306100.24982-100000@barber.cs.umn.edu> Zhenhai Duan writes: : 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. Yes. It can be buffered, but that's a driver level thing. I've seen serial consoles where things crashed after a printf I put in and never saw. I've not seen anything similar on video consoles. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011101949.MAA50988>