FLTK 1.4.3
|
Portable vsnprintf() implementation. More...
#include <stdio.h>
#include "flstring.h"
Functions | |
int | fl_snprintf (char *str, size_t size, const char *fmt,...) |
int | fl_vsnprintf (char *buffer, size_t bufsize, const char *format, va_list ap) |
FLTK's platform independent wrapper for the vsnprintf() C library function. | |
Portable vsnprintf() implementation.
int fl_vsnprintf | ( | char * | buffer, |
size_t | bufsize, | ||
const char * | format, | ||
va_list | ap ) |
FLTK's platform independent wrapper for the vsnprintf() C library function.
This function guarantees:
If the build environment for FLTK has vsnprintf(), fl_vsnprintf() is just a wrapper around the compiler's provided function. Otherwise, if the function is NOT available, FLTK's own built-in version is provided.
The FLTK built in provides these style options: