Site Tools


ttyname
no way to compare when less than two revisions

Differences

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


ttyname [2006/08/29 16:08] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +# $EPIC: ttyname.txt,v 1.2 2006/08/20 17:37:08 sthalik Exp $
 +======Synopsis:======
 +$__ttyname__()
 +
 +======Technical:======
 +   * 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.
 +
 +======Practical:======
 +Useful if you wanted to know which device you were logged into.
 +
 +======Returns:======
 +The terminal device attached to standard input.
 +
 +======History:======
 +This function fist appeared in EPIC4pre2.004-19990528
 +
 +======Examples:======
 +$ttyname() might return /dev/ttyp2
  
ttyname.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1