projects
/
monky
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Shrink proc.c
[monky]
/
src
/
proc.h
diff --git
a/src/proc.h
b/src/proc.h
index
70b7e07
..
5bcc2b8
100644
(file)
--- a/
src/proc.h
+++ b/
src/proc.h
@@
-31,6
+31,8
@@
#define PROCDIR "/proc"
#define READERR "Can't read '%s'"
#define STATENOTFOUND "Can't find the process state in '%s'"
+#define READSIZE 128
+#define STATE_ENTRY "State:\t"
struct environ_data {
char *file;