devela::all

Function linux_print_bytes

Source
pub fn linux_print_bytes(b: &[u8])
Available on crate features unsafe_syscall and linux only.
Expand description

Prints a byte slice to stdout.

This function makes use of the linux_sys_write syscall to print bytes.

ยงError Handling

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