Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
printf.cpp File Reference
#include "precompiled.h"
#include <cstdio>
#include <cstdarg>

Go to the source code of this file.

Functions

int sys_vswprintf (wchar_t *buffer, size_t count, const wchar_t *format, va_list argptr)
 sys_vswprintf: doesn't quite follow the standard for vswprintf, but works better across compilers: More...
 

Function Documentation

int sys_vswprintf ( wchar_t buffer,
size_t  count,
const wchar_t format,
va_list  argptr 
)

sys_vswprintf: doesn't quite follow the standard for vswprintf, but works better across compilers:

  • handles positional parameters and lld
  • always null-terminates the buffer, if count > 0
  • returns -1 on overflow (if the output string (including null) does not fit in the buffer)

Definition at line 30 of file printf.cpp.