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

/opensolaris-onvv-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);
/opensolaris-onvv-gate/usr/src/cmd/ps/
H A Ducbps.c398 int psfd; /* file descriptor for /proc/nnnnn/psinfo */ local
408 if ((psfd = open(psname, O_RDONLY)) == -1)
425 if (read(psfd, &info, sizeof (info)) != sizeof (info)) {
428 (void) close(psfd);
438 (void) close(psfd);

Completed in 32 milliseconds