cg_find_unified_root
extern int cg_find_unified_root(char *root, size_t len, bool *nsdelegate);
if (cg_find_unified_root(root, sizeof(root), &nsdelegate)) {
if (cg_find_unified_root(root, sizeof(root), NULL))
if (cg_find_unified_root(root, sizeof(root), NULL))
if (cg_find_unified_root(root, sizeof(root), NULL))
if (cg_find_unified_root(root, sizeof(root), NULL))
if (cg_find_unified_root(root, sizeof(root), NULL))
if (cg_find_unified_root(root, sizeof(root), NULL))
if (cg_find_unified_root(root, sizeof(root), NULL))
if (cg_find_unified_root(root, sizeof(root), NULL))
if (cg_find_unified_root(root, sizeof(root), NULL))