Lines Matching defs:procfd
737 int procfd;
744 if ((procfd = open(pname, O_RDONLY)) < 0 ||
745 read(procfd, (char *)&info, sizeof (info)) < 0 ||
751 (void) close(procfd);
933 int procfd; /* filedescriptor for /proc/nnnnn/psinfo */
943 if ((procfd = open(pname, O_RDONLY)) == -1) {
950 if (read(procfd, (char *)&info, sizeof (info)) < 0) {
953 (void) close(procfd);
962 (void) close(procfd);
1003 if ((procfd = open(pname, O_RDONLY)) == -1)
1008 prsz = read(procfd, lpsinfobuf, lpbufsize);
1012 (void) close(procfd);
1021 (void) close(procfd);