/** * Compare the string and the character string. */ int string_compare_cstr(const string_t* cpstr_string, const char* s_cstr) { bool_t t_result = false; _basic_string_pop_back((basic_string_t*)cpstr_string); t_result = basic_string_compare_cstr(cpstr_string, s_cstr); basic_string_push_back((basic_string_t*)cpstr_string, '\0'); return t_result; }
/** * Compare the string and the character string. */ int string_compare_cstr(const string_t* cpstr_string, const char* s_cstr) { return basic_string_compare_cstr(cpstr_string, s_cstr); }