diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-02-21 21:34:55 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-02-21 21:34:55 (GMT) |
commit | a60e1fe19d09eb379c88fdbbe018ca086dc05bcb (patch) | |
tree | e72fa012a465517fe3b2f728d750b008ba88d707 /src/common/extstr.h | |
parent | 0769fafb253b846b58cd97c4a1df98ca7417ae1c (diff) |
Cut symbol labels using words instead of single characters.
Diffstat (limited to 'src/common/extstr.h')
-rw-r--r-- | src/common/extstr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/extstr.h b/src/common/extstr.h index f803129..d5bbee6 100644 --- a/src/common/extstr.h +++ b/src/common/extstr.h @@ -52,6 +52,9 @@ char *_strxxx(char *, int (* fn) (int)); #define strlower(str) _strxxx(str, tolower) #define strupper(str) _strxxx(str, toupper) +/* Extrait un mot d'une chaîne selon des séparations longues. */ +char *strtok_w(char **, const char *); + /* Extrait une liste de mots d'une chaîne. */ char **strtoka(const char *, const char *, size_t *); |