aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-02-22 11:31:34 +0100
committerJohn Högberg <[email protected]>2018-02-22 11:34:01 +0100
commit3e14c0e9f81e34c78c609da4b77c32d208a34d93 (patch)
tree89f88974d57c2f0227743822ed4b42e830fb4dbc /lib/stdlib
parent8f3536583a6338e3a61dbf008d674f54a77e401c (diff)
downloadotp-3e14c0e9f81e34c78c609da4b77c32d208a34d93.tar.gz
otp-3e14c0e9f81e34c78c609da4b77c32d208a34d93.tar.bz2
otp-3e14c0e9f81e34c78c609da4b77c32d208a34d93.zip
Clarify the named_table option to ets:new/2
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/doc/src/ets.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/stdlib/doc/src/ets.xml b/lib/stdlib/doc/src/ets.xml
index b616e97714..305376a425 100644
--- a/lib/stdlib/doc/src/ets.xml
+++ b/lib/stdlib/doc/src/ets.xml
@@ -1079,10 +1079,13 @@ ets:select(Table, MatchSpec),</code>
</item>
<tag><c>named_table</c></tag>
<item>
- <p>If this option is present, name <c><anno>Name</anno></c> is
- associated with the table identifier. The name can then
- be used instead of the table identifier in subsequent
- operations.</p>
+ <p>If this option is present, the table is registered under its
+ <c><anno>Name</anno></c> which can then be used instead of the
+ table identifier in subsequent operations.</p>
+ <p>The function will also return the <c><anno>Name</anno></c>
+ instead of the table identifier. To get the table identifier of a
+ named table, use
+ <seealso marker="#whereis/1"><c>whereis/1</c></seealso>.</p>
</item>
<tag><c>{keypos,<anno>Pos</anno>}</c></tag>
<item>