summaryrefslogtreecommitdiffstats
path: root/include/strutils.h
diff options
context:
space:
mode:
authorKarel Zak2016-05-11 15:31:02 +0200
committerKarel Zak2016-05-11 15:31:02 +0200
commit3c201431ee26c85b5c7fbcd85856c1df84065d64 (patch)
treea6ff93a95304bcf4f8241f409c2f3a6bf5c90ecb /include/strutils.h
parentramctl: add support for zram-control (diff)
downloadkernel-qcow2-util-linux-3c201431ee26c85b5c7fbcd85856c1df84065d64.tar.gz
kernel-qcow2-util-linux-3c201431ee26c85b5c7fbcd85856c1df84065d64.tar.xz
kernel-qcow2-util-linux-3c201431ee26c85b5c7fbcd85856c1df84065d64.zip
lib/timeutils: add strxxx_iso() functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/strutils.h')
-rw-r--r--include/strutils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/strutils.h b/include/strutils.h
index 9f4339f41..f303450f5 100644
--- a/include/strutils.h
+++ b/include/strutils.h
@@ -212,6 +212,8 @@ static inline size_t ltrim_whitespace(unsigned char *str)
extern char *strnappend(const char *s, const char *suffix, size_t b);
extern char *strappend(const char *s, const char *suffix);
+extern char *strfappend(const char *s, const char *format, ...)
+ __attribute__ ((__format__ (__printf__, 2, 0)));
extern const char *split(const char **state, size_t *l, const char *separator, int quoted);
extern int skip_fline(FILE *fp);