Libu2f-emu  0.0.0
Universal 2nd Factor (U2F) Emulation C Library
Functions
utils.h File Reference
#include <stdio.h>
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

FILE * open_file_from_dir (const char *dirpath, const char *filename, const char *mode)
 Open a file from a directory. More...
 

Function Documentation

FILE* open_file_from_dir ( const char *  dirpath,
const char *  filename,
const char *  mode 
)

Open a file from a directory.

Parameters
dirpathThe path of the directory.
filenameThe filename.
modeThe mode.
Returns
Success: The File handler. Failure: NULL.