summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2012-11-22 14:36:17 +0100
committerKarel Zak2012-11-22 14:40:14 +0100
commit1ef28920f802fd076280ce81efd299bd58ad0e17 (patch)
tree1ba5d3b1919d5e906e6ef486e5ccd6a418191ece /include
parentlib/ttyutils: add test program (diff)
downloadkernel-qcow2-util-linux-1ef28920f802fd076280ce81efd299bd58ad0e17.tar.gz
kernel-qcow2-util-linux-1ef28920f802fd076280ce81efd299bd58ad0e17.tar.xz
kernel-qcow2-util-linux-1ef28920f802fd076280ce81efd299bd58ad0e17.zip
lib/ttyutils: add get_terminal_name()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/ttyutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ttyutils.h b/include/ttyutils.h
index 0bcae1493..93e89348a 100644
--- a/include/ttyutils.h
+++ b/include/ttyutils.h
@@ -9,7 +9,7 @@
#endif
extern int get_terminal_width(void);
-
+extern int get_terminal_name(const char **path, const char **name, const char **number);
#define UL_TTY_KEEPCFLAGS (1 << 1)
#define UL_TTY_UTF8 (1 << 2)