Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


isatty()                 General Function                isatty()




Check if a device is a terminal

int isatty(fd) int fd;

isatty checks to  see if a device is a  terminal.  It returns one
if the  file descriptor fd describes a  terminal, and zero other-
wise.

***** Files *****

/dev/* -- Terminal special files
/etc/ttys -- Login terminals

***** See Also *****

general functions, ioctl(), tty, ttyname(), ttyslot()








































COHERENT Lexicon                                           Page 1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026