Searched defs:procfile (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/rcap/common/
H A Drcapd_stat.c44 char procfile[20]; local
56 (void) snprintf(procfile, 20, "/proc/%d/psinfo", (int)hdr.rs_pid);
57 if (stat(procfile, &st) == 0)
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipf.c49 static void procfile __P((char *, char *)), flushfilter __P((char *));
122 procfile(argv[0], optarg);
251 static void procfile(name, file) function
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsyslog.c187 char procfile[32]; local
218 (void) sprintf(procfile, "/proc/%d/psinfo", (int)getpid());
219 if ((procfd = open(procfile, O_RDONLY)) >= 0) {
/illumos-gate/usr/src/cmd/rcap/rcapstat/
H A Drcapstat.c148 char procfile[20]; local
174 (void) snprintf(procfile, 20, "/proc/%lld/psinfo", pid);
175 if ((proc_fd = open(procfile, O_RDONLY)) < 0) {
/illumos-gate/usr/src/cmd/pbind/
H A Dpbind.c239 char procfile[MAX_PROCFS_PATH]; local
251 (void) snprintf(procfile, MAX_PROCFS_PATH,
253 if ((fd = open(procfile, O_RDONLY)) < 0) {
/illumos-gate/usr/src/cmd/psrset/
H A Dpsrset.c569 char procfile[MAX_PROCFS_PATH]; local
581 (void) snprintf(procfile, MAX_PROCFS_PATH,
583 if ((fd = open(procfile, O_RDONLY)) < 0) {
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_lock.c1398 char procfile[MAXPATHLEN]; local
1434 (void) sprintf(procfile, "/proc/%ld/as", pid);
1435 if ((fd = open(procfile, O_RDONLY)) == -1) {
1437 procfile, strerror(errno));
H A Drcm_script.c742 char procfile[80]; local
753 (void) snprintf(procfile, 80, "/proc/%ld/psinfo",
755 if ((fd = open(procfile, O_RDONLY)) != -1 &&
/illumos-gate/usr/src/cmd/prstat/
H A Dprstat.c851 char procfile[MAX_PROCFS_PATH]; local
853 (void) snprintf(procfile, MAX_PROCFS_PATH,
855 if ((*fd = fd_open(procfile, O_RDONLY, *fd)) == NULL)

Completed in 64 milliseconds