ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   21 Streams   21.2 Dictionary of Streams

21.2.11 open-stream-p Function

open-stream-p stream    generalized-boolean

Arguments and Values:
stream - a stream.

generalized-boolean - a generalized boolean.

Returns true if stream is an open stream; otherwise, returns false.

Streams are open until they have been explicitly closed with close, or until they are implicitly closed due to exit from a with-output-to-string, with-open-file, with-input-from-string, or with-open-stream form.

 (open-stream-p *standard-input*)  true

Affected By:

Exceptional Situations:
Should signal an error of type type-error if stream is not a stream.

Allegro CL Implementation Details:

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2017 - File last updated 01-11-2017