aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-06-19 14:43:17 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-06-19 14:43:17 +0000
commit31789a81d5751acaaf373e8ede2932208161f869 (patch)
tree8b3fe7e25ca247fc8d4e44102cef8b23a92f0354 /include
parent362c6ec6941c774992abcf008459616dbce0e7af (diff)
downloadbusybox-w32-31789a81d5751acaaf373e8ede2932208161f869.tar.gz
busybox-w32-31789a81d5751acaaf373e8ede2932208161f869.tar.bz2
busybox-w32-31789a81d5751acaaf373e8ede2932208161f869.zip
top,ps: 'stringify' tty only when needed. -60 bytes.
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 999caae0c..9ca565348 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -847,10 +847,9 @@ typedef struct {
847 unsigned sid; 847 unsigned sid;
848 unsigned uid; 848 unsigned uid;
849 unsigned gid; 849 unsigned gid;
850 unsigned tty_major,tty_minor;
850 char state[4]; 851 char state[4];
851 char tty_str[8]; /* "maj,min" or "?" */ 852 /* basename of executable in exec(2), read from /proc/N/stat */
852 /* basename of executable in exec(2), read from /proc/N/stat, */
853 /* size from sizeof(task_struct.comm) in /usr/include/linux/sched.h */
854 char comm[COMM_LEN]; 853 char comm[COMM_LEN];
855 /* user/group? - use passwd/group parsing functions */ 854 /* user/group? - use passwd/group parsing functions */
856} procps_status_t; 855} procps_status_t;