Guardian Procedure Calls Reference Manual

write-count
input
INT:value
is the number of bytes to be written:
for terminals{0:32755}
for interprocess files{0:57344}
NOTE: When using terminals in block mode, an error 21 occurs if write-count exceeds
256 bytes.
read-count
input
INT:value
returns the number of bytes to be read:
for terminals{0:32755}
for interprocess files{0:57344}
count-read
output
(for WRITEREAD)INT:ref:1
(for WRITEREADX)INT .EXT:ref:1
is for wait I/O only. It returns a count of the number of bytes returned from the file into buffer.
tag
input
INT(32):value
is for nowait I/O only. tag must uniquely identify the operation associated with this
WRITEREAD[X].
NOTE: The system stores this tag value until the I/O operation completes. The system then
returns the tag information to the program in the tag parameter of the call to AWAITIO[X],
thus indicating that the operation completed. If WRITEREADX is used, you must call AWAITIOX
to complete the I/O. If WRITEREAD is used, you can use either AWAITIO or AWAITIOX to
complete the I/O.
Condition Code Settings
indicates that an error occurred (call FILE_GETINFO_ or FILEINFO).< (CCL)
indicates the WRITEREAD[X] is successful.= (CCE)
indicates that CTRL-Y is pressed on the terminal.> (CCG)
1506 Guardian Procedure Calls (W-Z)