From 86aebe372e4cf4c1abd3df1275d83578dc51d5f9 Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Wed, 17 Oct 2018 07:32:37 +0200 Subject: [PATCH] Add TIOCSCTTY/TIOCNOTTY name decoding --- ttynvt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ttynvt.c b/ttynvt.c index cb94155..224290e 100644 --- a/ttynvt.c +++ b/ttynvt.c @@ -670,6 +670,9 @@ static const char *_ioctl_name(int cmd) CASE(TCSBRK); CASE(TIOCGWINSZ); CASE(TIOCSWINSZ); + /* Controlling terminal */ + CASE(TIOCSCTTY); + CASE(TIOCNOTTY); /* Exclusive mode */ CASE(TIOCEXCL); CASE(TIOCGEXCL);