Lines Matching defs:proc
70 " to the network \b/proc\b path for the service process.]"
121 #include <proc.h>
191 char* proc;
247 proc = proc_buf;
248 if (strncmp(proc + PROC_OFF, "/n/", 3))
249 u = proc + PROC_OFF;
252 t = proc + PROC_OFF + 3;
286 sfprintf(sfstdout, "%c%s 1 %-8s %-8s %7s %s %s%s%s\n", label[0][0], fmtmode(mode, 0) + 1, fmtuid(st.st_uid), (mode & S_IROTH) ? "other" : fmtgid(ftw->statb.st_gid), port, time_buf, label[2], qual_buf, proc);
333 sfprintf(sfstdout, " %s", u ? u : proc + PROC_OFF);
399 char* proc;
608 if (tokscan(buf, NiL, "/proc/%s", &proc) == 1)
610 else if (tokscan(buf, NiL, "/n/%s/proc/%s", &host, &proc) != 2)
630 *ap++ = proc;
652 while (proc = csattr(NiL, attr))
653 sfputr(sfstdout, proc, '\n');
662 if (proc = csattr(path, attr))
668 sfputr(sfstdout, proc, '\n');
673 if (proc = csattr(path, attr))
679 sfputr(sfstdout, proc, '\n');
695 proc = csattr(path, "type");
696 sfprintf(sfstdout, "%s=%s %s=%s\n", CO_ENV_HOST, path, CO_ENV_TYPE, proc ? proc : "unknown");