On Mit, 2010-01-13 at 19:05 -0300, Diego Woitasen wrote:
> Hi,
>  I want to clear the console before a printk() call. Is there a
> funcion in the kernel API to do it?
No, because "the console" can be your ordinary Linux console or over the
network or over a serial line.
You could look up the control character which clears terminals and plain
simply emit that (and the output device should behave accordingly) but I
won't do that in any case because I don't see any reason why one wants
to hide kernel messages coming out on a/the console - most of them
indicate pretty serious errors (or situations) and the last thing one
wants is to hide them.

        Bernd
-- 
mobil: +43 664 4416156          http://bernd.petrovitsch.priv.at/
    Linux Software Entwicklung, Beratung und Dienstleistungen


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to