diff options
author | Werner Fink | 2011-05-09 15:52:35 +0200 |
---|---|---|
committer | Karel Zak | 2011-05-17 11:10:03 +0200 |
commit | 729def03e1cdc3520690ca8e512b0a0a5e9e7211 (patch) | |
tree | d05c7feb2121ea3bc7b023f1437fae1bcc12f65d /COPYING | |
parent | agetty: more code cleanup (diff) | |
download | kernel-qcow2-util-linux-729def03e1cdc3520690ca8e512b0a0a5e9e7211.tar.gz kernel-qcow2-util-linux-729def03e1cdc3520690ca8e512b0a0a5e9e7211.tar.xz kernel-qcow2-util-linux-729def03e1cdc3520690ca8e512b0a0a5e9e7211.zip |
agetty: cleanup argv parsing, utmp update, use writeall(), etc.
Next cleanup, that is split off special character parsing in do_prompt()
and parse_args(), handle name of line of virtual console and use it in
utmp update as well as the session id. Also move the initial TERM
variable to open_tty() as we use this later in open_tty(). Use writeall()
but avoid repeat to often for EAGAIN (compare with info page of the
(g)libc, description of the macro EAGAIN).
Signed-off-by: Werner Fink <werner@suse.de>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions