pub unsafe extern "C" fn udsInit(
sharedmem_size: usize,
username: *const c_char
) -> Result
Expand description
Initializes UDS.
§Arguments
sharedmem_size
- This must be 0x1000-byte aligned.username
- Optional custom UTF-8 username(converted to UTF-16 internally) that other nodes on the UDS network can use. If not set the username from system-config is used. Max len is 10 characters without NUL-terminator.