summaryrefslogtreecommitdiff
path: root/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_set_cookie_2_func.txt
blob: 571d771ae8dbc0ae62ceececa3be77d4b057cc9f (plain)
1
2
3
4
5
6
7
8
9
10
11

  -spec erlang:set_cookie(Node, Cookie) -> true
                             when Node :: node(), Cookie :: atom().

  Sets the magic cookie for Node to the atom Cookie. If Node
  is the local node, the function sets the cookie of all other nodes
  (that have no explicit cookie set with this function) to Cookie
  (see section Distributed Erlang in the Erlang Reference Manual
  in System Documentation).

  Failure: function_clause if the local node is not alive.