mirror of
https://github.com/systemd/systemd.git
synced 2026-07-17 04:50:47 +00:00
string-util: introduce strspn_from_end()
This commit is contained in:
@@ -235,3 +235,5 @@ static inline int string_contains_word(const char *string, const char *separator
|
||||
bool streq_skip_trailing_chars(const char *s1, const char *s2, const char *ok);
|
||||
|
||||
char *string_replace_char(char *str, char old_char, char new_char);
|
||||
|
||||
size_t strspn_from_end(const char *str, const char *accept);
|
||||
|
||||
Reference in New Issue
Block a user