Lines Matching defs:psinfo
466 psinfo_t psinfo;
468 if (pread(pfd->fd, &psinfo, sizeof (psinfo), (off_t)0)
469 != sizeof (psinfo)) {
471 (int)pidtable[i].pl_pid, psinfo.pr_wstat));
472 pidtable[i].pl_status = psinfo.pr_wstat;
885 (void) sprintf(procname, "/proc/%d/psinfo", (int)pid);
1053 psinfo_t psinfo;
1061 (void) sprintf(psinfoname, "/proc/%d/psinfo", (int)pid);
1064 read(fd, &psinfo, sizeof (psinfo)) != sizeof (psinfo)) {
1067 * read of the psinfo file failed, so pid is nonexistent.
1069 psinfo.pr_nlwp = 0;
1075 return (psinfo.pr_nlwp != 0);