summaryrefslogtreecommitdiffstats
path: root/lib/format.h
blob: 5a2b75cba2648a3c87b9fd11435e70e1a5715d6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef JOVE_LIB_FORMAT_H
#define JOVE_LIB_FORMAT_H 1

#include <stddef.h>
#include <stdbool.h>

size_t ltostr(char *s, size_t limit, unsigned long l, bool sgn, int radix);

char *sfmt(char *s, size_t limit, const char *fmt, ...);
#include <stdarg.h>
char *svfmt(char *s, size_t limit, const char *fmt, va_list ap);

#endif