bsd man page for ttynam

Query: ttynam

OS: bsd

Section: 3f

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

TTYNAM(3F)																TTYNAM(3F)

NAME
ttynam, isatty - find name of a terminal port
SYNOPSIS
character*(*) function ttynam (lunit) logical function isatty (lunit)
DESCRIPTION
Ttynam returns a blank padded path name of the terminal device associated with logical unit lunit. Isatty returns .true. if lunit is associated with a terminal device, .false. otherwise.
FILES
/dev/* /usr/lib/libU77.a
DIAGNOSTICS
Ttynam returns an empty string (all blanks) if lunit is not associated with a terminal device in directory `/dev'. 4.2 Berkeley Distribution May 15, 1985 TTYNAM(3F)
Related Man Pages
ttyname(3) - mojave
ttyname_r(3) - mojave
ttyslot(3) - mojave
isatty(3c) - sunos
ttyname(3) - freebsd
Similar Topics in the Unix Linux Community
Pam_UNIX_cred: cannot load ttyname Error 0