From 890fb3bc90cdab64506cd4a43ca0a04727b5b7ea Mon Sep 17 00:00:00 2001
From: Sverker Eriksson
Date: Mon, 16 Oct 2017 17:56:46 +0200
Subject: erts: Add 'used' option to binary_to_term/2
---
erts/doc/src/erlang.xml | 29 ++++++++++++++++++++---------
1 file changed, 20 insertions(+), 9 deletions(-)
(limited to 'erts/doc')
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 2465f49581..a83ae3eb4b 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -549,9 +549,7 @@ hello
Decode an Erlang external term format binary.
-
As binary_to_term/1, but takes options that affect decoding
- of the binary.
-
Option:
+
As binary_to_term/1, but takes these options:
safe
@@ -567,18 +565,31 @@ hello
creation of new external function references.
None of those resources are garbage collected, so unchecked
creation of them can exhaust available memory.
-
-
-
Failure: badarg if safe is specified and unsafe
- data is decoded.