findConfFile

Find the config file

const(char)[]
findConfFile
(
const(char)[] argv0
,
const(char)[] inifile
)

Parameters

argv0 const(char)[]

program name (argv[0])

inifile const(char)[]

.ini file name

Return Value

Type: const(char)[]

file path of the config file or NULL Note: this is a memory leak

Meta