MAN sezione 9 - Torna all'indice
MAN PAGE: register_console(9)Contents
register_console - take on kernel console duties
extern void register_console(void(*proc)(const char*))
This function registers with the kernel a function to dis
play all the kernel messages printed by the printk(9)
function.
This function is normally called once at boot time by the
device driver for the console device, whatever that turns
out to be for the machine. The console procedure is only
called to print messages that are to be printed, the fil
tering for log level is done already.
None.
Linux 1.0+
printk(9)
/usr/src/linux/kernel/printk.c
Stephen Williams <steve@icarus.com>
Only one console can exist at a time, and there is no way
to know if any other device has registered as a console.
Linux DDI $Date:$ 1 |