top: make it possible to feed commands via pipe
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 6 May 2011 18:34:04 +0000 (20:34 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 6 May 2011 18:34:04 +0000 (20:34 +0200)
commit7d9a1d25e53544c922d5e362180b2703a86d32df
treecb5c25f5bfaf78508e3079a11bc944569bae7a3f
parenta348b4557d3d0af411135c23448a2c5a7cd82982
top: make it possible to feed commands via pipe

function                                             old     new   delta
handle_input                                           -     492    +492
mult_lvl_cmp                                          38      49     +11
packed_usage                                       28247   28257     +10
top_main                                            1345     928    -417
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/1 up/down: 513/-417)           Total: 96 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/top.c