picotm  0.10.0
Functions
stdio.h File Reference

Transactional wrappers for interfaces of <stdio.h>. More...

#include <picotm/compiler.h>
#include <picotm/config/picotm-libc-config.h>
#include <stdarg.h>
#include <stdio.h>

Functions

PICOTM_NOTHROW int snprintf_tx (char *restrict s, size_t n, const char *restrict format,...)
 
PICOTM_NOTHROW int sscanf_tx (const char *restrict s, const char *restrict format,...)
 
PICOTM_NOTHROW int vsnprintf_tx (char *restrict s, size_t n, const char *restrict format, va_list ap)
 
PICOTM_NOTHROW int vsscanf_tx (const char *restrict s, const char *restrict format, va_list arg)
 

Function Documentation

◆ snprintf_tx()

PICOTM_NOTHROW int snprintf_tx ( char *restrict  s,
size_t  n,
const char *restrict  format,
  ... 
)

A transaction-safe implementation of snprintf().

◆ sscanf_tx()

PICOTM_NOTHROW int sscanf_tx ( const char *restrict  s,
const char *restrict  format,
  ... 
)

A transaction-safe implementation of sscanf().

◆ vsnprintf_tx()

PICOTM_NOTHROW int vsnprintf_tx ( char *restrict  s,
size_t  n,
const char *restrict  format,
va_list  ap 
)

A transaction-safe implementation of vsnprintf().

◆ vsscanf_tx()

PICOTM_NOTHROW int vsscanf_tx ( const char *restrict  s,
const char *restrict  format,
va_list  arg 
)

A transaction-safe implementation of vsscanf().