Vowpal Wabbit
Loading...
Searching...
No Matches
Namespaces | Macros | Functions | Variables
crossplat_compat.h File Reference
#include <cstdint>
#include <cstdio>
#include <cstring>

Namespaces

namespace  VW
 
namespace  VW::details
 

Macros

#define sprintf_s   snprintf
 
#define vsprintf_s   vsnprintf
 
#define strtok_s   strtok_r
 
#define fscanf_s   fscanf
 

Functions

int VW::string_cpy (char *dest, size_t dest_size, const char *src)
 
int VW::file_open (FILE **pf, const char *filename, const char *mode)
 
int VW::get_pid ()
 

Variables

constexpr uint64_t VW::details::UINT64_ONE = 1ULL
 

Macro Definition Documentation

◆ fscanf_s

#define fscanf_s   fscanf

◆ sprintf_s

#define sprintf_s   snprintf

◆ strtok_s

#define strtok_s   strtok_r

◆ vsprintf_s

#define vsprintf_s   vsnprintf