Type Property 型プロパティ

standardInput

The file handle associated with the standard input file.

Declaration 宣言

class var standardInput: FileHandle { get }

Return Value 戻り値

The shared file handle associated with the standard input file. 標準出力ファイルと結び付けられた共有ファイルハンドル。

Discussion 議論

Conventionally this is a terminal device on which the user enters a stream of data. 慣例的にこれは、それの上でユーザがデータのストリームを記入するターミナルデバイスです。 There’s one standard input file handle per process; it’s a shared instance.

When using this method to create a file handle object, the file handle owns its associated file descriptor and is responsible for closing it. このメソッドを使ってファイルハンドルオブジェクトを作成する場合、ファイルハンドルは、それの結び付けられたファイル記述子を所有し、そしてそれを閉じることに責任を持ちます。

See Also 参照

Getting a File Handle ファイルハンドルを取得する

Related Documentation 関連文書