Added boot process information to help someone find out what really happens.
[bootos.git] / stage2 / printf.h
blob2c10432641dee665ffe17e7e7430ccccd53aeced
1 /*
2 * Copyright (c) 1995 Patrick Powell.
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 */
9 /*
10 * Copyright (c) 2008 Holger Weiss.
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.
20 #ifndef __VSPRINTF_H__
21 #define __VSPRINTF_H__
23 #include <stdarg.h>
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, ...) __attribute__ ((format (printf, 2, 3)));
29 #endif