ttyname

Returns a pointer to the null-terminated name of the terminal device associated with file descriptor 0, the default input device (stdin).

Format

#include  <unixio.h>

char *ttyname (void);

Description

This function is provided only for UNIX compatibility and has limited use in the OpenVMS environment.

Return Values
A pointer to a null-terminated string. 
Indicates that SYS$INPUT is not a TTY device. 


Previous Page | Next Page | Table of Contents | Index