diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-09-09 14:42:33 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-09-09 14:42:33 +0200 |
commit | e3590a3f87f02022eb6e608ae5c3fc93bcd025d0 (patch) | |
tree | aa06ccfe946f277729add7ac4227fd9184823805 /erts/doc | |
parent | 88c54fc500096d326a87414af1e936890655024f (diff) | |
parent | 6ec6493dcca2724493700e7d269d2984efe30b38 (diff) | |
download | otp-e3590a3f87f02022eb6e608ae5c3fc93bcd025d0.tar.gz otp-e3590a3f87f02022eb6e608ae5c3fc93bcd025d0.tar.bz2 otp-e3590a3f87f02022eb6e608ae5c3fc93bcd025d0.zip |
Merge branch 'egil/erlang-get_keys/OTP-12151'
* egil/erlang-get_keys/OTP-12151:
Update preloaded erlang.beam
erts: Document erlang:get_keys/0
stdlib: Auto-import erlang:get_keys/0
erts: Add spec for erlang:get_keys/0
kernel: Test BIF erlang:get_keys/0
erts: Add BIF erlang:get_keys/0
Diffstat (limited to 'erts/doc')
-rw-r--r-- | erts/doc/src/erlang.xml | 13 |
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> |