Return the name of the terminal device connected to 'fd'. fd Integer file descriptor handle.
os/ttyname
ttyname