Functions
path.h File Reference

Helper functions dealing with relative and absolute paths. More...

Functions

VTM_API int vtm_path_get_real (const char *path, char **out_resolved)
 

Function Documentation

VTM_API int vtm_path_get_real ( const char *  path,
char **  out_resolved 
)

Returns the full absolute path for the given input path.

Parameters
paththe path to convert
[out]out_resolvedan allocated buffer containing the real path. This buffer must be freed by the caller.
Returns
VTM_OK if the real path could be determined successfully
VTM_E_IO_UNKNOWN if an error occured