Monado OpenXR Runtime
Functions
u_file.h File Reference

Very simple file opening functions. More...

#include "xrt/xrt_compiler.h"
#include <stdio.h>
Include dependency graph for u_file.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

ssize_t u_file_get_config_dir (char *out_path, size_t out_path_size)
 
ssize_t u_file_get_path_in_config_dir (const char *suffix, char *out_path, size_t out_path_size)
 
FILE * u_file_open_file_in_config_dir (const char *filename, const char *mode)
 

Detailed Description

Very simple file opening functions.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Function Documentation

◆ u_file_get_config_dir()

ssize_t u_file_get_config_dir ( char *  out_path,
size_t  out_path_size 
)

◆ u_file_get_path_in_config_dir()

ssize_t u_file_get_path_in_config_dir ( const char *  suffix,
char *  out_path,
size_t  out_path_size 
)

◆ u_file_open_file_in_config_dir()

FILE* u_file_open_file_in_config_dir ( const char *  filename,
const char *  mode 
)