User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

ttyname [2006/08/29 16:08] (current)
Line 1: Line 1:
 +# $EPIC: ttyname.txt,​v 1.2 2006/08/20 17:37:08 sthalik Exp $
 +   * If EPIC is not attached to a terminal device (when you use the -b command line option) the empty string is returned.
 +   * This function returns the device name associated with the standard input. ​
 +   * This function calls the operating system'​s ttyname(3) function.
 +Useful if you wanted to know which device you were logged into.
 +The terminal device attached to standard input.
 +This function fist appeared in EPIC4pre2.004-19990528
 +$ttyname() might return /dev/ttyp2
ttyname.txt ยท Last modified: 2006/08/29 16:08 (external edit)