io

io

Module

io

Module summary

Standard I/O server interface functions.

Description

This module provides an interface to standard Erlang I/O servers. The output functions all return ok if they are successful, or exit if they are not.

All functions in this module have an optional parameter IoDevice. If included, it must be the pid of a process that handles the I/O protocols. Normally, it is the IoDevice returned by file:open/2.

For a description of the I/O protocols, see section The Erlang I/O Protocol in the User's Guide.

Warning

As from Erlang/OTP R13A, data supplied to function 登录查看完整内容