Chapter Contents

Previous

Next
TTWRITE

TTWRITE



Writes characters to the channel assigned by TTOPEN

Language element: function
Category: terminal-access
OpenVMS specifics: All aspects are host-specific


Syntax
Details
See Also

Syntax

TTWRITE(channel,buffer,<size>)

channel
is the channel variable returned from the TTOPEN function.

buffer
is the character string variable that contains the data to be written.

size
is an optional numeric parameter that specifies how many characters to write from buffer. If you do not specify size, the entire buffer is sent, including any trailing blanks.


Details

If the TTWRITE function executes successfully, the return value is 0. Otherwise, the return value is the OpenVMS error code that indicates why it failed.

The TTWRITE function does not supply any carriage control. You must insert into the buffer any carriage-control characters that you want.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.