FNM_LEADING_DIR
const int leading_dir = !!(flags & FNM_LEADING_DIR);
FNM_NOESCAPE | FNM_LEADING_DIR) == FNM_NOMATCH)