[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

Content starts here D.5 PTD$READW — Read Data from Pseudoterminal and Wait
HP OpenVMS I/O User’s Reference Manual: OpenVMS Version 8.4 > Appendix D Control Connection Routines

D.5 PTD$READW — Read Data from Pseudoterminal and Wait

Reads data from the pseudoterminal. The PTD$READW routine completes synchronously; that is, it returns to the caller after the data has been read.

For asynchronous completion, use the PTD$READ routine. The PTD$READ routine is identical to the PTD$READW routine in every way except that PTD$READ returns to the caller without waiting for the data to be read.

D.5.1 Format

PTD$READW [efn], chan [.astadr] [,astprm] readbuf, readbuf_len