2008-12-11 20:30:53 +00:00
|
|
|
/*
|
2006-04-26 15:08:19 +00:00
|
|
|
* Creation Date: <2003/12/20 01:51:22 samuel>
|
|
|
|
|
* Time-stamp: <2004/01/07 19:02:17 samuel>
|
2008-12-11 20:30:53 +00:00
|
|
|
*
|
2006-04-26 15:08:19 +00:00
|
|
|
* <vsprintf.h>
|
2008-12-11 20:30:53 +00:00
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*
|
2006-04-26 15:08:19 +00:00
|
|
|
* Copyright (C) 2003, 2004 Samuel Rydh (samuel@ibrium.se)
|
2008-12-11 20:30:53 +00:00
|
|
|
*
|
2006-04-26 15:08:19 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
|
* version 2
|
2008-12-11 20:30:53 +00:00
|
|
|
*
|
2006-04-26 15:08:19 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _H_VSPRINTF
|
|
|
|
|
#define _H_VSPRINTF
|
|
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
2010-03-14 17:19:58 +00:00
|
|
|
#include "config.h"
|
2008-07-07 18:37:24 +00:00
|
|
|
|
2010-10-09 08:27:09 +00:00
|
|
|
int vsprintf(char *buf, const char *fmt, va_list args)
|
|
|
|
|
__attribute__((__format__(__printf__, 2, 0)));
|
|
|
|
|
int sprintf(char * buf, const char *fmt, ...)
|
|
|
|
|
__attribute__((__format__(__printf__, 2, 3)));
|
|
|
|
|
int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
|
|
|
|
|
__attribute__((__format__(__printf__, 3, 0)));
|
|
|
|
|
int snprintf(char * buf, size_t size, const char *fmt, ...)
|
|
|
|
|
__attribute__((__format__(__printf__, 3, 4)));
|
2006-04-26 15:08:19 +00:00
|
|
|
|
2010-10-09 08:27:09 +00:00
|
|
|
int forth_printf(const char *fmt, ...)
|
|
|
|
|
__attribute__((__format__(__printf__, 1, 2)));
|
2009-11-22 09:50:54 +00:00
|
|
|
|
2006-04-26 15:08:19 +00:00
|
|
|
#endif /* _H_VSPRINTF */
|