Write
Writes to a file or device
OS9 I$Write 103F 8A
Entry Conditions
A path number
X starting address of data to write
Y number of bytes to write
Exit Conditions
Y number of bytes written
Error Output
CC carry set on error
B error code, if any
Additional Information
- The Write system call writes to the file or device associated with the path number specified.
- Before using Write, be sure the path is opened or created in the write or update access mode. NitrOS-9 writes data to the file or device without processing or editing the data. NitrOS-9 automatically expands the file if you write data path the present end-of-file.