port-work; won't compile or even work
[ppcskel.git] / printf.h
1 /*
2  * Copyright (c) 1995 Patrick Powell.
3  *
4  * This code is based on code written by Patrick Powell <papowell@astart.com>.
5  * It may be used for any purpose as long as this notice remains intact on all
6  * source code distributions.
7  */
8
9 /*
10  * Copyright (c) 2008 Holger Weiss.
11  *
12  * This version of the code is maintained by Holger Weiss <holger@jhweiss.de>.
13  * My changes to the code may freely be used, modified and/or redistributed for
14  * any purpose.  It would be nice if additions and fixes to this file (including
15  * trivial code cleanups) would be sent back in order to let me include them in
16  * the version available at <http://www.jhweiss.de/software/snprintf.html>.
17  * However, this is not a requirement for using or redistributing (possibly
18  * modified) versions of this file, nor is leaving this notice intact mandatory.
19  */
20 #ifndef __VSPRINTF_H__
21 #define __VSPRINTF_H__
22
23 #include <stdarg.h>
24
25 int vsprintf(char *buf, const char *fmt, va_list args);
26 int vsnprintf(char *str, size_t size, const char *format, va_list args);
27 int sprintf(char *buffer, const char *fmt, ...);
28
29 #endif
30