riot_sys::bindgen

Function uuid_from_string

Source
pub unsafe extern "C" fn uuid_from_string(
    uuid: *mut uuid_t,
    str_: *const c_char,
) -> c_int
Expand description

@brief Populate an UUID structure from an UUID string

@param[out] uuid out UUID @param[in] str null-terminated input UUID string, must be UUID_STR_LEN bytes

@return 0 on success, < 0 if @p str is not valid