Contents

standardOutput

The file handle associated with the standard output file.

Declaration

class var standardOutput: FileHandle { get }

Return Value

The shared file handle associated with the standard output file.

Discussion

Conventionally this is a terminal device that receives a stream of data from a program. There’s one standard output 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

Related Documentation

Getting a File Handle