terminal-name

[procedure] terminal-name port

Chicken: POSIX ttyname.

This is called sys-ttyname, port-terminal-name in some implementations.