Function ctru_sys::udsGetNodeInfoUsername
source · pub unsafe extern "C" fn udsGetNodeInfoUsername(
nodeinfo: *const udsNodeInfo,
username: *mut c_char
) -> Result
Expand description
Loads the UTF-16 username stored in the input NodeInfo struct, converted to UTF-8.
§Arguments
nodeinfo
- Input NodeInfo struct.username
- This is the output UTF-8 string. Max len is 10 characters without NUL-terminator.