ioctl_tty.2: Update DTR example
commit95dedaa0614915ac91a7175359f17fa8bb54614c
authorPali Rohár <pali@kernel.org>
Sun, 8 Aug 2021 08:41:24 +0000 (8 10:41 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 9 Aug 2021 00:32:37 +0000 (9 02:32 +0200)
tree733d2d28657d2b9a1a3e102915144701aab611d0
parentd192b1c7b479721825b42ec27b54db2cd5002610
ioctl_tty.2: Update DTR example

Do not include unused (and incompatible) header file termios.h and
include required header files for puts() and close() functions.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/ioctl_tty.2