mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Add prototypes for [v]snprintf
git-svn-id: svn://coreboot.org/openbios/openbios-devel@191 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -18,7 +18,11 @@
|
|||||||
#define _H_VSPRINTF
|
#define _H_VSPRINTF
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include "openbios/config.h"
|
||||||
|
|
||||||
extern int vsprintf(char *buf, const char *fmt, va_list args );
|
extern int vsprintf(char *buf, const char *fmt, va_list args );
|
||||||
extern int sprintf(char * buf, const char *fmt, ...);
|
extern int sprintf(char * buf, const char *fmt, ...);
|
||||||
|
extern int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
|
||||||
|
extern int snprintf(char * buf, size_t size, const char *fmt, ...);
|
||||||
|
|
||||||
#endif /* _H_VSPRINTF */
|
#endif /* _H_VSPRINTF */
|
||||||
|
|||||||
Reference in New Issue
Block a user