diff options
author | Alexander Shishkin <virtuoso@slind.org> | 2011-10-31 13:18:44 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-10-31 13:18:44 +0100 |
commit | 156840c249ddf761d9e60b06ca6d8aaa1bf88402 (patch) | |
tree | 927112b5656f671980e8db99d11cbb74a6457118 /libbb/lineedit.c | |
parent | bcdae638752d5eac9185f69b88f49ed136cf39af (diff) | |
download | busybox-156840c249ddf761d9e60b06ca6d8aaa1bf88402.tar.gz |
cttyhack: print detected ctty name when called without parameters
Sometimes there's a need to figure out the controlling tty from a shell
script, for example, to obtain a line for getty. In this case it's easier
to call cttyhack than trying to repeat some of the cttyhack's logic.
function old new delta
cttyhack_main 283 327 +44
packed_usage 28911 28915 +4
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/lineedit.c')
0 files changed, 0 insertions, 0 deletions