Exemple #1
0
FILE * xdgConfigOpen(const char * relativePath, const char * mode, xdgHandle *handle)
{
	const char * const * dirs = xdgSearchableConfigDirectories(handle);
	FILE * result = xdgFileOpen(relativePath, mode, dirs);
	if (!handle) xdgFreeStringList((char**)dirs);
	return result;
}
Exemple #2
0
FILE * xdgConfigOpen(const char * relativePath, const char * mode, xdgHandle *handle)
{
	return xdgFileOpen(relativePath, mode, xdgSearchableConfigDirectories(handle));
}