On this page
lib
Module
lib
Module Summary
Useful library functions.
Description
This module is retained for backward compatibility. It can disappear without warning in a future Erlang/OTP release.
Exports
Types
Prints error message Args
in accordance with Format
. Similar to io:format/2
.
Flushes the message buffer of the current process.
Types
Removes the last newline character, if any, in String1
.
Returns the name of the script that started the current Erlang session.
Types
Makes it possible to send a message using the apply/3
BIF.
Types
As send/2
, but waits for an answer. It is implemented as follows:
sendw(To, Msg) ->
To ! {self(),Msg},
receive
Reply -> Reply
end.
The returned message is not necessarily a reply to the sent message.
© 2010–2017 Ericsson AB
Licensed under the Apache License, Version 2.0.