morpheus-base

morpheus base system
git clone git://git.2f30.org/morpheus-base.git
Log | Files | Refs

tty.1 (286B)


      1 .TH TTY 1 sbase\-VERSION
      2 .SH NAME
      3 tty \- print terminal name
      4 .SH SYNOPSIS
      5 .B tty
      6 .SH DESCRIPTION
      7 .B tty
      8 prints the name of the terminal open on stdin.
      9 .P
     10 The status code is 0 if stdin is a terminal, and 1 if not.  If an error occurred
     11 the status code is 2.
     12 .SH SEE ALSO
     13 .IR ttyname (3)