unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.2BSD)
Page:
Section:
Apropos / Subsearch:
optional field

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 associ-
       ated 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'.



4th Berkeley Distribution        13 June 1983                       TTYNAM(3F)