Input-output is provided in the language by means of predefined packages. The generic packages SEQUENTIAL_IO and DIRECT_IO define input-output operations applicable to files containing elements of a given type. Additional operations for text input-output are supplied in the package TEXT_IO. The package IO_EXCEPTIONS defines the exceptions needed by the above three packages. Finally, a package LOW_LEVEL_IO is provided for direct control of peripheral devices.
References: direct_io package, and 14.2.4, io_exceptions package, low_level_io package, sequential_io package, and 14.2.2, text_io package.
Rationale references: 16 Input-Output
Style Guide references: 7.7 Input/Output
Address any questions or comments to email@example.com.