#include <fontconfig.h>
FcFontSet * FcFontList (FcConfig *config, FcPattern *p, FcObjectSet *os);
Selects fonts matching p, creates patterns from those fonts containing only the objects in os and returns the set of unique such patterns.
Fontconfig version 2.3.2