file
file
Module
file
Module summary
File interface module.
Description
This module provides an interface to the file system.
On operating systems with thread support, file operations can be performed in threads of their own, allowing other Erlang processes to continue executing in parallel with the file operations. See command-line flag +A
in erl(1)
.
Regarding filename encoding, the Erlang VM can operate in two modes. The current mode can be queried using function native_name_encoding/0
. It returns latin1
or utf8
.
In latin1
mode, the Erlang VM does not change the encoding of filenames. In utf8
mode, filenames can contain Unicode c