lib

lib

Module

lib

Module summary

Useful library functions.

Description

Warning

This module is retained for backward compatibility. It can disappear without warning in a future Erlang/OTP release.

Exports

error_message(Format, Args) -> ok

Types:

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

Prints error message Args in accordance with Format. Similar to io:format/2.

flush_receive() -> ok

Flushes the message buffer of the current process.

<