Initial revision
This commit is contained in:
14
libproc/tree.h
Normal file
14
libproc/tree.h
Normal file
@@ -0,0 +1,14 @@
|
||||
struct tree_node {
|
||||
proc_t *proc;
|
||||
pid_t pid;
|
||||
pid_t ppid;
|
||||
char *line;
|
||||
char *cmd;
|
||||
char **cmdline;
|
||||
char **environ;
|
||||
int children;
|
||||
int maxchildren;
|
||||
int *child;
|
||||
int have_parent;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user