]> git.buserror.net Git - polintos/scott/priv.git/blob - include/c/std/stdio.h
Move stdio defs to stdio.h, and fix an x86 makefile bug.
[polintos/scott/priv.git] / include / c / std / stdio.h
1 #ifndef _C_STDIO_H
2 #define _C_STDIO_H
3
4 #include <stdint.h>
5 #include <stdarg.h>
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11         size_t vsnprintf(char *buf, size_t size, const char *str, va_list args);
12
13         size_t snprintf(char *buf, size_t size, const char *str, ...)
14         __attribute__((format(printf, 3, 4)));
15
16         size_t sprintf(char *buf, const char *str, ...)
17         __attribute__((format(printf, 2, 3)));
18
19         size_t printf(const char *str, ...)
20         __attribute__((format(printf, 1, 2)));
21
22 #ifdef __cplusplus
23 }
24 #endif
25 #endif