UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
vsnprintf.c File Reference
#include "config.h"
#include "config_unix.h"
#include "debug.h"
#include "vsnprintf.h"
Include dependency graph for vsnprintf.c:

Go to the source code of this file.

Functions

int vsnprintf (char *s, size_t buf_size, const char *format, va_list ap)
 

Function Documentation

◆ vsnprintf()

int vsnprintf ( char * s,
size_t buf_size,
const char * format,
va_list ap )

Definition at line 46 of file vsnprintf.c.

47{
48 /* Quick hack replacement for vsnprintf... note that this */
49 /* doesn't check for buffer overflows, and so is open to */
50 /* many really nasty attacks! */
51 UNUSED(buf_size);
52 return vsprintf(s, format, ap);
53}
#define UNUSED(x)

References UNUSED.

Referenced by av_log_ug_callback(), color_printf(), log_vprintf(), printf_libav_error(), socket_error(), and socket_herror().