Searched defs:postfix (Results 1 - 1 of 1) sorted by relevance

/systemd/src/basic/
H A Dstring-util.c48 char* endswith(const char *s, const char *postfix) { argument
52 assert(postfix);
55 pl = strlen(postfix);
63 if (memcmp(s + sl - pl, postfix, pl) != 0)
69 char* endswith_no_case(const char *s, const char *postfix) { argument
73 assert(postfix);
76 pl = strlen(postfix);
84 if (strcasecmp(s + sl - pl, postfix) != 0)

Completed in 1634 milliseconds