open62541 1.4.15
Open source implementation of OPC UA
Loading...
Searching...
No Matches
Macros | Functions
mp_printf.h File Reference
#include <stdarg.h>
#include <stddef.h>

Go to the source code of this file.

Macros

#define ATTR_PRINTF(one_based_format_index, first_arg)
 
#define ATTR_VPRINTF(one_based_format_index)
 

Functions

int mp_snprintf (char *s, size_t count, const char *format,...)
 
int mp_vsnprintf (char *s, size_t count, const char *format, va_list arg)
 

Macro Definition Documentation

◆ ATTR_PRINTF

#define ATTR_PRINTF (   one_based_format_index,
  first_arg 
)

Definition at line 23 of file mp_printf.h.

◆ ATTR_VPRINTF

#define ATTR_VPRINTF (   one_based_format_index)

Definition at line 24 of file mp_printf.h.

Function Documentation

◆ mp_snprintf()

int mp_snprintf ( char *  s,
size_t  count,
const char *  format,
  ... 
)

◆ mp_vsnprintf()

int mp_vsnprintf ( char *  s,
size_t  count,
const char *  format,
va_list  arg 
)