lib

lib

Module

lib

Module summary

A number of useful library functions

Description

Warning

This module is retained for compatibility. It may disappear without warning in a future release.

Exports

flush_receive() -> ok

Flushes the message buffer of the current process.

error_message(Format, Args) -> ok

Types:

Format = io:format()
Args = [term()]

Prints error message Args in accordance with Format. Similar to io:format/2, see io(3).