summaryrefslogtreecommitdiff
path: root/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_whereis_1_func.txt
blob: 757ec8a7e1f8c025f4e6e1e8e2089e231186fa52 (plain)
1
2
3
4
5
6
7
8
9
10

  -spec whereis(RegName) -> pid() | port() | undefined
                   when RegName :: atom().

  Returns the process identifier or port identifier with the
  registered name RegName. Returns undefined if the name is not
  registered. Example:

    > whereis(db).
    <0.43.0>