blob: fd1f0b40abb0bf4cc4b1b61365949a1fa4666077 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef TINYPRINTF_H
#define TINYPRINTF_H
#include <stdarg.h>
#include <stddef.h>
int tinyprintf(const char *format, ...);
void handle_d(int val, int *res);
void handle_u(unsigned int val, int *res);
void handle_x(unsigned int val, int *res);
void handle_o(unsigned int val, int *res);
void handle_s(char *s, int *res);
void dispatch(char c, va_list ap, int *res);
#endif /* ! TINYPRINTF_H */
|