Next Previous Up Top Contents Index

5.11 The STREAMS module

close

G.f. method

Summary

Closes a file stream.

Signature

close file-stream #key abort? wait? => ()

Arguments

file-stream
An instance of <file-stream>.

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

wait?
An instance of <boolean>.

Values

None.

Library

io

Module

streams

Description

Closes a file stream. This method frees whatever it can of any underlying system resources held on behalf of the stream.

If abort is false, any pending data is forced out and synchronized with the file's destination. If abort is true, then any errors caused by closing the file are ignored.


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index