Skip to main content

println

Function println 

Source
pub fn println(ctx: &ServiceContext, s: &str)
Expand description

Write a line to the console.

A line of any length is written whole, in pieces of at most 256 bytes. It may park the caller briefly: serial output is synchronous, and when the console service’s queue is full the kernel parks the writer until there is room (handle_console_write). A program printing in a tight loop runs at the speed of the screen. Authority: log_write.