From 3e14c0e9f81e34c78c609da4b77c32d208a34d93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20H=C3=B6gberg?= Date: Thu, 22 Feb 2018 11:31:34 +0100 Subject: Clarify the named_table option to ets:new/2 --- lib/stdlib/doc/src/ets.xml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'lib/stdlib/doc/src') 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), named_table -

If this option is present, name Name is - associated with the table identifier. The name can then - be used instead of the table identifier in subsequent - operations.

+

If this option is present, the table is registered under its + Name which can then be used instead of the + table identifier in subsequent operations.

+

The function will also return the Name + instead of the table identifier. To get the table identifier of a + named table, use + whereis/1.

{keypos,Pos} -- cgit v1.2.3