blob: 571d771ae8dbc0ae62ceececa3be77d4b057cc9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
[;1m-spec erlang:set_cookie(Node, Cookie) -> true[0m
[;1m when Node :: node(), Cookie :: atom().[0m
Sets the magic cookie for [;;4mNode[0m to the atom [;;4mCookie[0m. If [;;4mNode[0m
is the local node, the function sets the cookie of all other nodes
(that have no explicit cookie set with this function) to [;;4mCookie[0m
(see section Distributed Erlang in the Erlang Reference Manual
in System Documentation).
Failure: [;;4mfunction_clause[0m if the local node is not alive.
|