Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2000 02:34:46 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        opentrax@email.com
Cc:        bright@wintelcom.net, duan@cs.umn.edu, freebsd-hackers@FreeBSD.ORG
Subject:   Re: printf() 
Message-ID:  <200011101034.eAAAYk906022@mass.osd.bsdi.com>
In-Reply-To: Your message of "Fri, 10 Nov 2000 02:12:59 PST." <200011101013.CAA01227@spammie.svbug.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011101034.eAAAYk906022>