summaryrefslogtreecommitdiff
path: root/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_unregister_1_func.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_unregister_1_func.txt')
-rw-r--r--lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_unregister_1_func.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_unregister_1_func.txt b/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_unregister_1_func.txt
index 4e25c97d02..3697bac815 100644
--- a/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_unregister_1_func.txt
+++ b/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_unregister_1_func.txt
@@ -1,12 +1,17 @@
-spec unregister(RegName) -> true when RegName :: atom().
- Removes the registered name RegName associated with a process
- identifier or a port identifier, for example:
+ 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.