summaryrefslogtreecommitdiff
path: root/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_unregister_1_func.txt
blob: 3697bac815e5b3380e0453af51e370df67910e63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

  -spec unregister(RegName) -> true when RegName :: atom().

  Removes the registered name RegName associated with a process
  identifier or a port identifier from the name registry. For
  example:

    > unregister(db).
    true

  Keep in mind that you can still receive signals associated with
  the registered name after it has been unregistered as the sender
  may have looked up the name before sending to it.

  Users are advised not to unregister system processes.

  Failure: badarg if RegName is not a registered name.