Table of Contents

NAME

SYNOPSIS

DESCRIPTION

These functions operate on the system file descriptors for terminal type devices. These descriptors are not related to the standard typedef, but refer to the special device files found in and named and for which an entry exists in the initialization file (See The function determines if the file descriptor refers to a valid terminal type device. The function gets the related device name of a file descriptor for which is true The function fetches the current process’ control terminal number from the file entry.

RETURN VALUES

The function returns the null terminated name if the device is found and is true; otherwise a pointer is returned. The function returns the unit number of the device file if found; otherwise the value zero is returned.

FILES

SEE ALSO

HISTORY

A and function appeared in

BUGS

The function leaves its result in an internal static object and returns a pointer to that object. Subsequent calls to will modify the same object.


Table of Contents