rusty_mos::kernel::syscall_impl

Function sys_print_cons

Source
fn sys_print_cons(s: *const u8, num: u32) -> u32
Expand description

SYSNO: 1, show one num-lengthed string on the console.

It will call the print_charc function one by one to put each characters.

The string SHALL be under the UTOP wholy.

ยงFailure

This syscall will return a negated-KError::Invalid if any of the string is above the UTOP.