char *ctermid(char *s);
If used in a threaded application,
Points to a buffer of at least L_ctermid bytes where the path name is to be placed. If this parameter is NULL, then a static buffer is used.
If s is a null pointer,
POSIX.1 (1996), with exceptions.
MT-Safe, with exceptions.
This function is only MT-Safe if its parameter is non-NULL.
The returned path name is always "/dev/tty".
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.3 Documentation Build 39.