HologramDepthmap Library
Functions | Variables
sys.cpp File Reference
#include "graphics/sys.h"
#include <stdarg.h>
#include <stdio.h>

Go to the source code of this file.

Functions

void file_log (const char *fmt,...)
 
FILE * file_read_open (const WChar *fname)
 
FILE * file_write_open (const WChar *fname)
 
FILE * file_read_open (const WChar *fname, const WChar *mode)
 
FILE * file_write_open (const WChar *fname, const WChar *mode)
 
WChar * string_cpy (WChar *dest, const WChar *src)
 
WChar * string_cat (WChar *dest, const WChar *src)
 
int string_cmp (const WChar *str1, const WChar *str2)
 

Variables

static FILE * fp
 

Function Documentation

◆ file_log()

void file_log ( const char *  fmt,
  ... 
)

Definition at line 7 of file sys.cpp.

◆ file_read_open() [1/2]

FILE* file_read_open ( const WChar *  fname)

Definition at line 38 of file sys.cpp.

◆ file_read_open() [2/2]

FILE* file_read_open ( const WChar *  fname,
const WChar *  mode 
)

Definition at line 56 of file sys.cpp.

◆ file_write_open() [1/2]

FILE* file_write_open ( const WChar *  fname)

Definition at line 47 of file sys.cpp.

◆ file_write_open() [2/2]

FILE* file_write_open ( const WChar *  fname,
const WChar *  mode 
)

Definition at line 65 of file sys.cpp.

◆ string_cat()

WChar* string_cat ( WChar *  dest,
const WChar *  src 
)

Definition at line 83 of file sys.cpp.

◆ string_cmp()

int string_cmp ( const WChar *  str1,
const WChar *  str2 
)

Definition at line 92 of file sys.cpp.

◆ string_cpy()

WChar* string_cpy ( WChar *  dest,
const WChar *  src 
)

Definition at line 74 of file sys.cpp.

Variable Documentation

◆ fp

FILE* fp
static

Definition at line 5 of file sys.cpp.