Searched defs:srch_dirs (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/acct/lib/
H A Ddevtolin.c69 char **srch_dirs; /* priority directories to search first */ local
77 srch_dirs = def_srch_dirs;
79 while ((!found) && (srch_dirs[dirno] != NULL)) {
83 found = srch_dir(device, srch_dirs[dirno],
84 ((strcmp(srch_dirs[dirno], dev_dir) == 0) ?
94 found = srch_dir(device, dev_dir, 0, srch_dirs);
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_utils.c189 char **srch_dirs; local
197 srch_dirs = get_pri_dirs();
199 while (srch_dirs[dirno] != NULL) {
200 if (srch_dir(srch_dirs[dirno]) < 0)
206 while (srch_dirs[dirno] != NULL) {
207 if (strcmp("/dev", srch_dirs[dirno]) == 0)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dttyname.c204 const entry_t *srch_dirs; /* priority directories */ local
274 srch_dirs = get_pri_dirs();
277 while ((!found) && (srch_dirs[dirno].name != NULL)) {
288 if (strcmp(PTS, srch_dirs[dirno].name) == NULL) {
294 found = srch_dir(srch_dirs[dirno], match_mask,
295 ((strcmp(srch_dirs[dirno].name, dev_dir.name)
305 found = srch_dir(dev_dir, match_mask, 0, srch_dirs, fsp);

Completed in 60 milliseconds