aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-06-16 16:37:26 +0200
committerBjörn-Egil Dahlberg <[email protected]>2014-08-22 18:59:12 +0200
commit4ec6f6875469f32bc499876605df2542a4c13532 (patch)
tree16f55089d97d64d975186f0f1e2e82d1862bc58c /erts/doc
parent021c3366c2857f0f8ac040a3a37c606dc9c8d96c (diff)
downloadotp-4ec6f6875469f32bc499876605df2542a4c13532.tar.gz
otp-4ec6f6875469f32bc499876605df2542a4c13532.tar.bz2
otp-4ec6f6875469f32bc499876605df2542a4c13532.zip
erts: Document erlang:get_keys/0
Diffstat (limited to 'erts/doc')
-rw-r--r--erts/doc/src/erlang.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 3d8ef9a97d..97fe6d2915 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -1377,6 +1377,19 @@ true
</desc>
</func>
<func>
+ <name name="get_keys" arity="0"/>
+ <fsummary>Return a list of all keys from the process dictionary</fsummary>
+ <desc>
+ <p>Returns a list of keys all keys present in the process dictionary.</p>
+ <pre>
+> <input>put(dog, {animal,1}),</input>
+<input>put(cow, {animal,2}),</input>
+<input>put(lamb, {animal,3}),</input>
+<input>get_keys().</input>
+[dog,cow,lamb]</pre>
+ </desc>
+ </func>
+ <func>
<name name="get_keys" arity="1"/>
<fsummary>Return a list of keys from the process dictionary</fsummary>
<desc>