Annotation of 43BSDReno/share/man/man3f/ttynam.3, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1983 Regents of the University of California.
                      2: .\" All rights reserved.  The Berkeley software License Agreement
                      3: .\" specifies the terms and conditions for redistribution.
                      4: .\"
                      5: .\"    @(#)ttynam.3f   6.1 (Berkeley) 5/15/85
                      6: .\"
                      7: .TH TTYNAM 3F "May 15, 1985"
                      8: .UC 5
                      9: .SH NAME
                     10: ttynam, isatty \- find name of a terminal port
                     11: .SH SYNOPSIS
                     12: .B character*(*) function ttynam (lunit)
                     13: .sp 1
                     14: .B logical function isatty (lunit)
                     15: .SH DESCRIPTION
                     16: .I Ttynam
                     17: returns a blank padded path name
                     18: of the terminal device associated with logical unit
                     19: .IR lunit .
                     20: .PP
                     21: .I Isatty
                     22: returns
                     23: .B .true.
                     24: if
                     25: .I lunit
                     26: is associated with a terminal device,
                     27: .B .false.
                     28: otherwise.
                     29: .SH FILES
                     30: /dev/\(**
                     31: .br
                     32: .ie \nM /usr/ucb/lib/libU77.a
                     33: .el /usr/lib/libU77.a
                     34: .SH DIAGNOSTICS
                     35: .I Ttynam
                     36: returns an empty string (all blanks) if
                     37: .I lunit
                     38: is not associated with a terminal device in directory `/dev'.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.