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

/illumos-gate/usr/src/cmd/svc/startd/
H A Dcontract.c79 int psfd, csfd; local
92 if ((psfd = open("/proc/self/psinfo", O_RDONLY)) < 0) {
98 if (read(psfd, &psi, sizeof (psinfo_t)) != sizeof (psinfo_t)) {
102 startd_close(psfd);
108 startd_close(psfd);
/illumos-gate/usr/src/cmd/ps/
H A Ducbps.c400 int psfd; /* file descriptor for /proc/nnnnn/psinfo */ local
410 if ((psfd = open(psname, O_RDONLY)) == -1)
427 if (read(psfd, &info, sizeof (info)) != sizeof (info)) {
430 (void) close(psfd);
440 (void) close(psfd);

Completed in 72 milliseconds