HP OpenVMS I/O User’s Reference Manual: OpenVMS Version 8.4 > Appendix D Control Connection RoutinesD.7 PTD$WRITE — Write Data to PseudoterminalInputs data to the pseudoterminal and reads any immediately echoed characters. Number of the I/O channel assigned to the new pseudoterminal. This channel is only intended to be used for PTD$XXX operations. astadr
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. AST parameter to be passed to the AST service routine specified by the astadr argument. wrtbuf
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. Number of characters to be written to the pseudoterminal. These characters appear as input to the terminal side of the pseudoterminal. echobuf
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. 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. PTD$WRITE inputs data to the pseudoterminal and reads any immediately echoed characters. PTD$WRITE allows you to specify a buffer to receive any output generated by the write; you do not need to issue a separate read request to read this data.
|