comparison util.h @ 1:836a698946f8

pasterd: add basic routes
author David Demelier <markand@malikania.fr>
date Tue, 04 Feb 2020 16:44:43 +0100
parents 15a06aa20298
children f455893bf0b0
comparison
equal deleted inserted replaced
0:15a06aa20298 1:836a698946f8
17 */ 17 */
18 18
19 #ifndef PASTER_UTIL_H 19 #ifndef PASTER_UTIL_H
20 #define PASTER_UTIL_H 20 #define PASTER_UTIL_H
21 21
22 #include <noreturn.h> 22 #include <stdnoreturn.h>
23 23
24 noreturn void 24 noreturn void
25 die(const char *fmt, ...); 25 die(const char *, ...);
26 26
27 char * 27 char *
28 estrdup(const char *str); 28 estrdup(const char *);
29
30 const char *
31 bprintf(const char *, ...);
29 32
30 #endif /* !PASTER_UTIL_H */ 33 #endif /* !PASTER_UTIL_H */