| |||||||||||
| 入力-/出力ストリームを閉じる。
close(+ストリーム)
close/1 は、入力ストリーム あるいは、出力ストリームであるストリームを閉じる。 もし、ストリーム が出力ストリームならば、出力ストリームのバッファは、そのストリームを閉じる前にフラッシュされる。
引数
ストリーム ストリーム
例
close(ストリーム). ストリームを閉じ、成功する。
標準
これらの述語は、ISO-Prolog 標準に含まれる。
関連at_end_of_stream/0/1, current_error/1, current_input/1, current_output/1, flush_output/0/1, open/3/4, set_error/1, set_input/1, set_output/1. | |||||||||||
| |||||||||||
| 戻る> |
|