Package: glib

Function glib:key-file-load-from-dirs

Lambda List

glib:key-file-load-from-dirs (keyfile file dirs flags)

Arguments

keyfile -- a g:key-file instance
file -- a string for the relative path to a filename to open and parse
dirs -- a list of strings for the directories to search
flags -- a g:key-file-flags value

Return Value

The string containing the full path of the file, or nil if the file could not be loaded.

Details

This function looks for a key file named file in the paths specified in dirs, loads the file into keyfile and returns the full path of the file. If the file could not be loaded then nil is returned.
 

See also

2025-1-12