Yet Another eXchange Tool  0.9.0
Functions
xstdio.c File Reference

fail-safe stdio function wrappers More...

#include <errno.h>
#include <stdio.h>
#include <string.h>
#include "core/core.h"
#include "core/ppm_xfuncs.h"
#include "core/symprefix.h"
Include dependency graph for xstdio.c:

Go to the source code of this file.

Functions

FILE *SymPrefix() xfopen (const char *path, const char *mode, const char *source, int line)
 
void SymPrefix() xfclose (FILE *fp, const char *source, int line)
 
int SymPrefix() xfputc (int c, FILE *stream, const char *source, int line)
 

Detailed Description

fail-safe stdio function wrappers

Version
1.0
Author
Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de

Definition in file xstdio.c.

Function Documentation

◆ xfclose()

void SymPrefix() xfclose ( FILE *  fp,
const char *  source,
int  line 
)

Definition at line 64 of file xstdio.c.

◆ xfopen()

FILE* SymPrefix() xfopen ( const char *  path,
const char *  mode,
const char *  source,
int  line 
)

Definition at line 54 of file xstdio.c.

◆ xfputc()

int SymPrefix() xfputc ( int  c,
FILE *  stream,
const char *  source,
int  line 
)

Definition at line 72 of file xstdio.c.