util-lib: split out printf() helpers to stdio-util.h

This commit is contained in:
Lennart Poettering
2015-10-27 13:25:57 +01:00
parent c7f1808add
commit 15a5e95075
28 changed files with 114 additions and 57 deletions
-4
View File
@@ -85,10 +85,6 @@ static inline const char* one_zero(bool b) {
bool fstype_is_network(const char *fstype);
#define xsprintf(buf, fmt, ...) \
assert_message_se((size_t) snprintf(buf, ELEMENTSOF(buf), fmt, __VA_ARGS__) < ELEMENTSOF(buf), \
"xsprintf: " #buf "[] must be big enough")
noreturn void freeze(void);
void execute_directories(const char* const* directories, usec_t timeout, char *argv[]);