D.7.3 Arguments |
|
chan
OpenVMS usage: | channel |
type: | word (unsigned) |
access: | read only |
mechanism: | by value |
Number of the I/O channel assigned to the new
pseudoterminal. This channel is only intended to be used for PTD$XXX
operations.
astadr
OpenVMS usage: | ast_procedure |
type: | procedure value |
access: | call without stack unwinding |
mechanism: | by reference |
AST service routine to be executed when PTD$READ
completes. If you specify astadr,
the AST routine executes at the same access mode as the caller of
the PTD$WRITE routine.
astprm
OpenVMS usage: | user_arg |
type: | longword (unsigned) |
access: | read only |
mechanism: | by value |
AST parameter to be passed to the AST service
routine specified by the astadr argument.
wrtbuf
OpenVMS usage: | char_string |
type: | character coded text string |
access: | write only |
mechanism: | by reference |
Address of the read I/O status longword. The first
character position in an I/O buffer to receive all output is this
address plus 4. The wrtbuf argument
must be in the range specified in the inadr argument of the PTD$CREATE routine; otherwise, an SS$_ACCVIO status
is returned.
wrtbuf_len
OpenVMS usage: | word_unsigned |
type: | word (unsigned) |
access: | read only |
mechanism: | by value |
Number of characters to be written to the pseudoterminal.
These characters appear as input to the terminal side of the pseudoterminal.
echobuf
OpenVMS usage: | char_string |
type: | character coded text string |
access: | write only |
mechanism: | by reference |
Address of the echo I/O status longword. The first
character position in an I/O buffer to receive all output is this
address plus 4. The echobuf must
be in the range specified by the inadr argument of the PTD$CREATE routine; otherwise an SS$_ACCVIO status
is returned.
echobuf_len
OpenVMS usage: | word_unsigned |
type: | word (unsigned) |
access: | read only |
mechanism: | by value |
Number of characters that can be read from the
pseudoterminal. If an echo buffer is specified, up to echobuf_len characters can be stored in it.