write \*- write on a file
sys write; buffer; nbytes
write(fildes, buffer, nbytes)
A file descriptor is a word returned from a
bytes which are written on the output file.
The number of characters actually written is returned (in r0).
It should be regarded as an error
if this is not the same as requested.
Writes which are multiples
of 512 characters long and begin on a 512-byte boundary
are more efficient than any others.
creat (II), open (II), pipe (II)
(c-bit) is set on an error: bad descriptor, buffer address, or
count; physical I/O errors.
From C, a returned value of \*-1 indicates an error.