Function os::mm::page_table::copy_to_user_string
source · [−]Expand description
Automatically add '\0'
in the end,
so total written length is src.len() + 1
(with trailing '\0'
).
Warning
Caller should ensure src
is not too large, or this function will write out of bound.