summaryrefslogtreecommitdiff
path: root/proc/readproc.h
diff options
context:
space:
mode:
Diffstat (limited to 'proc/readproc.h')
-rw-r--r--proc/readproc.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/proc/readproc.h b/proc/readproc.h
index 77db696..55453c9 100644
--- a/proc/readproc.h
+++ b/proc/readproc.h
@@ -152,12 +152,13 @@ typedef struct proc_t {
session, // stat session id
nlwp, // stat,status number of threads, or 0 if no clue
tgid, // (special) thread group ID, the POSIX PID (see also: tid)
- tty, // stat full device number of controlling terminal
+ tty; // stat full device number of controlling terminal
/* FIXME: int uids & gids should be uid_t or gid_t from pwd.h */
- euid, egid, // stat(),status effective
- ruid, rgid, // status real
- suid, sgid, // status saved
- fuid, fgid, // status fs (used for file access only)
+ uid_t euid; gid_t egid; // stat(),status effective
+ uid_t ruid; gid_t rgid; // status real
+ uid_t suid; gid_t sgid; // status saved
+ uid_t fuid; gid_t fgid; // status fs (used for file access only)
+ int
tpgid, // stat terminal process group id
exit_signal, // stat might not be SIGCHLD
processor; // stat current (or most recent?) CPU