Next Previous Up Top Contents Index

5.11 The STREAMS module

synchronize-output

Open generic function

Summary

Synchronizes an output stream with the application state.

Signature

synchronize-output output-stream => () 

Arguments

output-stream
An instance of <stream>.

Values

None.

Library

io

Module

streams

Description

Forces any pending output from output-stream's buffers to its destination. Before returning to its caller,
synchronize-output also attempts to ensure that the output reaches the stream's destination before, thereby synchronizing the output destination with the application state.

When creating new stream classes it may be necessary to add a method to the synchronize-output function, even though it is not part of the Stream Extension Protocol.

See also

force-output, page 71


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index