Table of Contents

NAME

SYNOPSIS

DESCRIPTION

The function generates a string, that, when used as a pathname, refers to the current controlling terminal of the calling process. If is the pointer, a pointer to a static area is returned. Otherwise, the pathname is copied into the memory referenced by The argument is assumed to point to an array at least (as defined in the include file bytes long. The current implementation simply returns

RETURN VALUES

Upon successful completion, a pointer is returned. Otherwise, a pointer is returned and the global variable is set to indicate the error.

ERRORS

The current implementation detects no error conditions.

SEE ALSO

STANDARDS

The function conforms to

BUGS

By default the function writes all information to an internal static object. Subsequent calls to will modify the same object.


Table of Contents