Scieneer Common Lisp 1.3.9 online documentation

ext:stream-finish-output-no-hang stream[Generic Function]

Attempt to finish sending any buffered output returning t upon success or nil if the operation would block. Output buffered in the stream output buffer is not sent - the caller should firstly flush the output buffer if desired. Called by ext:finish-output-no-hang after attempting to flush the stream output buffer. The default method calls ext:stream-finish-output which should be fine for a file stream, however socket output streams will probably want to defined a method for this function. When the write is not completed the function ext:stream-waiting-file-descriptor may be called to find the file descriptor and directions blocked and when ready the function ext:stream-finish-output-no-hang may be called again to continue the operation.