Next Previous Up Top Contents Index

5.11 The STREAMS module

type-for-file-stream

Open generic function

Summary

Finds the type of file-stream class that needs to be instantiated for a given file.

Signature

type-for-file-stream filename element-type #rest #all-keys
=> file-stream-type

Arguments

filename
An instance of <object>.

element-type
One of <byte-character>,
<unicode-character>, or <byte>, or #f.

Values

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

Library

io

Module

streams

Description

Returns the kind of file-stream class to instantiate for a given file. The method for make on <file-stream> calls this function to determine the class of which it should create an instance.

See also

<file-stream>, page 70

make file-stream-class, page 75


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index