devela::all

Function linux_eprintln

Source
pub fn linux_eprintln(s: &str)
Available on crate features unsafe_syscall and linux only.
Expand description

Prints a string slice to standard error, with a newline.

This function makes use of the linux_sys_write syscall to print a string.

ยงError Handling

If the write fails, it prints an error message and exits with status code 10.