aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-09-05 13:28:52 +0200
committerLukas Larsson <[email protected]>2017-09-05 14:58:42 +0200
commiteed25a02ba2416c48587699542aaecdd09609718 (patch)
treefb8272822e4ceeefc8399a6c611b71de823571ec /erts/doc
parent314702f86c9199957e40edfb73bcdbddb422f9d7 (diff)
downloadotp-eed25a02ba2416c48587699542aaecdd09609718.tar.gz
otp-eed25a02ba2416c48587699542aaecdd09609718.tar.bz2
otp-eed25a02ba2416c48587699542aaecdd09609718.zip
erts: Add erlang:iolist_to_iovec
OTP-14520
Diffstat (limited to 'erts/doc')
-rw-r--r--erts/doc/src/erlang.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 105734d5b2..5ed7b92896 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -60,6 +60,14 @@
</desc>
</datatype>
<datatype>
+ <name>iovec()</name>
+ <desc>
+ <p>A list of binaries. This datatype is useful to use
+ together with <seealso marker="erl_nif#enif_inspect_iovec">
+ <c>enif_inspect_iovec</c></seealso>.</p>
+ </desc>
+ </datatype>
+ <datatype>
<name name="message_queue_data"></name>
<desc>
<p>See <seealso marker="#process_flag_message_queue_data">
@@ -2125,6 +2133,15 @@ os_prompt%</pre>
</func>
<func>
+ <name name="iolist_to_iovec" arity="1"/>
+ <fsummary>Converts an iolist to a iovec.</fsummary>
+ <desc>
+ <p>Returns an iovec that is made from the integers and binaries in
+ <c><anno>IoListOrBinary</anno></c>.</p>
+ </desc>
+ </func>
+
+ <func>
<name name="is_alive" arity="0"/>
<fsummary>Check whether the local node is alive.</fsummary>
<desc>