summaryrefslogtreecommitdiff
path: root/src/common/extstr.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2022-08-18 22:01:55 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2022-08-18 22:01:55 (GMT)
commit536baed85dd1d7fd0f99dfe0aa549f11a96afd85 (patch)
tree91ec7d3eba57073ead30728a10135dd773e82869 /src/common/extstr.h
parentd21ff9aca314bdab7156b5f990900735d4dfffd6 (diff)
Create a function extending strings thanks to a format and its arguments.
Diffstat (limited to 'src/common/extstr.h')
-rw-r--r--src/common/extstr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/extstr.h b/src/common/extstr.h
index 1c39603..c4e671e 100644
--- a/src/common/extstr.h
+++ b/src/common/extstr.h
@@ -37,6 +37,9 @@ char *stradd(char *, const char *);
/* Complète une chaîne de caractères avec une autre. */
char *strnadd(char *, const char *, size_t);
+/* Complète une chaîne de caractères avec une chaîne à formater. */
+char *straddfmt(char *, const char *, ...);
+
/* Fait précéder une chaîne de caractères par une autre. */
char *strprep(char *, const char *);