Function WRITE

Syntax

write file-descriptor vector start end => effective-count, error

Arguments and values

file-descriptor -- A non-negative fixnum.

vector -- A vector with element-type (unsigned-byte 8).

start -- A non-negative fixnum.

end -- A non-negative fixnum.

effective-count -- A non-negative fixnum.

error -- A fixnum.

Description

The function write writes up to end - start bytes to the file descriptor file-descriptor, starting at offset start in vector.

The number of bytes written may be less than end - start if, for example, there is insufficient space on the underlying physical medium, or the +rlimit-fsize+ resource limit is encountered (see setrlimit), or the call was interrupted by a signal handler after having written less than end - start bytes.

Errors