Declarations for functions implementing libc stdarg functions. More...
#include <stdarg.h>
Go to the source code of this file.
Functions | |
int | vprintf (const char *fmt, va_list argp) |
int | vsprintf (char *s, const char *fmt, va_list argp) |
int | vsnprintf (char *s, size_t size, const char *fmt, va_list argp) |
Declarations for functions implementing libc stdarg functions.
Using EMBTEXTF_PROVIDE_LIBC embtextf can provide implementations for standard libc functions such as vprintf(), etc. based on an application-provided putchar() implementation.
These functions are provided: vprintf(), vsprintf(), vsnprintf()
These functions are required: putchar()
These functions are not provided: vfprintf()
Stream-oriented functions (viz. those that reference a libc FILE
object) are not included as one might conceivably want to use FILE
to hold the embtextf_putchar_fn instance that is used to perform output to that stream. If such an interface is desired it can be provided by the application.
libembtextf-libc.a
along with libembtextf
to incorporate the libc-related function wrappers into your application.int vprintf | ( | const char * | fmt, |
va_list | argp | ||
) |
ISO C standard function based on embtextf_vuprintf() dependent on EMBTEXTF_PROVIDE_LIBC.
int vsnprintf | ( | char * | s, |
size_t | size, | ||
const char * | fmt, | ||
va_list | argp | ||
) |
ISO C standard function based on embtextf_vuprintf() dependent on EMBTEXTF_PROVIDE_LIBC.
int vsprintf | ( | char * | s, |
const char * | fmt, | ||
va_list | argp | ||
) |
ISO C standard function based on embtextf_vuprintf() dependent on EMBTEXTF_PROVIDE_LIBC.