#include <fontconfig.h>
FcStrList * FcConfigGetConfigDirs(FcConfig *config);
FcStrList * FcConfigGetConfigDirs
Returns the list of font directories specified in the configuration files for config. Does not include any subdirectories. If config is NULL, the current configuration is used.
Fontconfig version 2.8.0