core_get_global_path
if (core_get_global_path(gpattern, sizeof (gpattern)) != 0) {
(void) core_get_global_path(path, sizeof (path));
extern int core_get_global_path(char *, size_t);