Searched refs:chomp_trailing_dir_sep (Results 1 – 1 of 1) sorted by relevance
128 static inline int chomp_trailing_dir_sep(const char *path, int len) in chomp_trailing_dir_sep() function151 path_len = chomp_trailing_dir_sep(path, path_len); in strip_path_suffix()152 suffix_len = chomp_trailing_dir_sep(suffix, suffix_len); in strip_path_suffix()160 return strndup(path, chomp_trailing_dir_sep(path, path_len)); in strip_path_suffix()