diff options
author | Lukas Larsson <[email protected]> | 2017-04-21 14:54:33 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2017-04-25 14:17:18 +0200 |
commit | eec41eeed17682a4e1f8ca15d92a2b469f0c39b8 (patch) | |
tree | d67679c453a4033959dfc3cd09d71e5c4c6e558b /erts/doc/src/erlang.xml | |
parent | ab048d66c59fa827bf4129fc95bec21488a931a4 (diff) | |
download | otp-eec41eeed17682a4e1f8ca15d92a2b469f0c39b8.tar.gz otp-eec41eeed17682a4e1f8ca15d92a2b469f0c39b8.tar.bz2 otp-eec41eeed17682a4e1f8ca15d92a2b469f0c39b8.zip |
erts: Add erlang:list_to_port/1 debug bif
Diffstat (limited to 'erts/doc/src/erlang.xml')
-rw-r--r-- | erts/doc/src/erlang.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index a8836d3cbb..a26a695f2e 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -2499,6 +2499,24 @@ os_prompt%</pre> </func> <func> + <name name="list_to_port" arity="1"/> + <fsummary>Convert from text representation to a port.</fsummary> + <desc> + <p>Returns a port identifier whose text representation is a + <c><anno>String</anno></c>, for example:</p> + <pre> +> <input>list_to_port("#Port<0.4>").</input> +#Port<0.4></pre> + <p>Failure: <c>badarg</c> if <c><anno>String</anno></c> contains a bad + representation of a port identifier.</p> + <warning> + <p>This BIF is intended for debugging and is not to be used + in application programs.</p> + </warning> + </desc> + </func> + + <func> <name name="list_to_ref" arity="1"/> <fsummary>Convert from text representation to a ref.</fsummary> <desc> |