Movatterモバイル変換


[0]ホーム

URL:


[LISPWORKS][Common Lisp HyperSpec (TM)][Previous][Up][Next]


FunctionINPUT-STREAM-P, OUTPUT-STREAM-P

Syntax:

input-stream-pstream =>generalized-boolean

output-stream-pstream =>generalized-boolean

Arguments and Values:

stream---astream.

generalized-boolean---ageneralized boolean.

Description:

input-stream-p returnstrue ifstream is aninputstream; otherwise, returnsfalse.

output-stream-p returnstrue ifstream is anoutputstream; otherwise, returnsfalse.

Examples:

 (input-stream-p *standard-input*) =>true (input-stream-p *terminal-io*) =>true (input-stream-p (make-string-output-stream)) =>false (output-stream-p *standard-output*) =>true (output-stream-p *terminal-io*) =>true (output-stream-p (make-string-input-stream "jr")) =>false

Side Effects: None.

Affected By: None.

Exceptional Situations:

Should signal an error oftypetype-error ifstream is not astream.

See Also: None.

Notes: None.


[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996-2005, LispWorks Ltd. All rights reserved.


[8]ページ先頭

©2009-2025 Movatter.jp