[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


__ttyname

Returns the name of the terminal associated with the file id.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS

Mac OS

Palm OS
Win32

Prototype:
#include <console.h>
extern char *__ttyname(long fildes);
Parameters:

Parameters for this function are:

fildes  
long  
The file descriptor  

Remarks:

Returns the name of the terminal associated with the file id. The unix.h function ttyname calls this function (we need to map the int to a long for size of int variance).

Returns:

Returns the name of the terminal associated with the file id.

See Also:

"ttyname"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000