Searched refs:sys_path (Results 1 - 1 of 1) sorted by relevance

/netbsd-6-1-5-RELEASE/bin/sh/
H A Deval.c616 static char *sys_path = NULL; local
621 if (sys_path == NULL) {
623 (sys_path = ckmalloc(len + 5)) != NULL &&
624 sysctl(mib, 2, sys_path + 5, &len, 0, 0) != -1) {
625 memcpy(sys_path, "PATH=", 5);
627 ckfree(sys_path);
629 sys_path = def_path;
632 return sys_path;

Completed in 103 milliseconds