Table of Contents
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
Upon successful completion,
a pointer is returned. Otherwise, a pointer is returned and the global
variable is set to indicate the error.
The current implementation
detects no error conditions.
The function conforms to
By default the function writes all information to an internal static
object. Subsequent calls to will modify the same object.
Table of Contents