Scieneer Common Lisp 1.3.9 online documentation

ext:stream-write-chars stream string start end waitp[Generic Function]

Attempt to write the string from the start to the end position to the stream, returning the number of characters written. If waitp is true then wait until all characters have been written before returning. When waitp is false, write as many characters as possible without blocking, returning the number of characters written which may be zero. The write bypasses the stream output buffer. Called by write-chars to write the stream buffer. Every buffered character output stream must define a method for this function. When less characters are written than requested, the function ext:stream-waiting-file-descriptor may be called to find the file descriptor and directions blocked and when ready the function may be called again to continue the operation.