Next Previous Up Top Contents Index

5.11 The STREAMS module

force-output

Open generic function

Summary

Forces pending output from an output stream buffer to its destination.

Signature

force-output output-stream #key synchroniz? e=> ()

Arguments

output-stream
An instance of <stream>.

synchronize?
An instance of <boolean>. Default value: #f.

Values

None.

Library

io

Module

streams

Description

Forces any pending output from output-stream's buffers to its destination. Even if the stream is asynchronous, this call waits for all writes to complete. If synchronize? is true, also flushes the operating system's write cache for the file so that all data is physically written to disk. This should only be needed if you're concerned about system failure causing loss of data.

See also

synchronize-output, page 103


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index