1,543
社区成员
发帖
与我相关
我的任务
分享
typedef struct psinfo {
int pr_flag; /* process flags (DEPRECATED; do not use) */
int pr_nlwp; /* number of active lwps in the process */
pid_t pr_pid; /* unique process id */
pid_t pr_ppid; /* process id of parent */
pid_t pr_pgid; /* pid of process group leader */
pid_t pr_sid; /* session id */
uid_t pr_uid; /* real user id */
uid_t pr_euid; /* effective user id */
gid_t pr_gid; /* real group id */
... ...
lwpsinfo_t pr_lwp; /* information for representative lwp */
} psinfo_t;
prpsinfo_t是以前使用的struct,在 "/usr/include/sys/old_procfs.h"。