diff options
author | Sami Kerola | 2016-05-14 20:39:37 +0200 |
---|---|---|
committer | Sami Kerola | 2016-07-04 00:35:10 +0200 |
commit | a58b90255c247efc455e6e84ffa0601b325ac090 (patch) | |
tree | 870cd9309ccb76c3572feec6f8b8a08a32a3a8bf /include/ttyutils.h | |
parent | write: tell when effective gid and tty path group mismatch (diff) | |
download | kernel-qcow2-util-linux-a58b90255c247efc455e6e84ffa0601b325ac090.tar.gz kernel-qcow2-util-linux-a58b90255c247efc455e6e84ffa0601b325ac090.tar.xz kernel-qcow2-util-linux-a58b90255c247efc455e6e84ffa0601b325ac090.zip |
write: stop removing and adding /dev/ in front of tty string
Add both path and tty name representations of tty's to control structure,
that point to same string beginning from different depths. This way there
is no need to removing and adding /dev/ in front of tty string all the time.
Secondly this change makes it possible to use of get_terminal_name() from
ttyutils.c.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'include/ttyutils.h')
0 files changed, 0 insertions, 0 deletions