aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2017-10-09 08:59:32 +0200
committerJohn Högberg <[email protected]>2017-10-11 16:40:20 +0200
commit8ab02314baa4bf6fd1e3769b7222943a7084db28 (patch)
treed290cf472d4073979fbcf6485b137db7ab716c10 /erts/doc/src
parent919ef5de2858e606d4a9be3e0e995b0802c76e33 (diff)
downloadotp-8ab02314baa4bf6fd1e3769b7222943a7084db28.tar.gz
otp-8ab02314baa4bf6fd1e3769b7222943a7084db28.tar.bz2
otp-8ab02314baa4bf6fd1e3769b7222943a7084db28.zip
Add zlib:set_controlling_process/2
Diffstat (limited to 'erts/doc/src')
-rw-r--r--erts/doc/src/zlib.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/erts/doc/src/zlib.xml b/erts/doc/src/zlib.xml
index f5cc1b1e64..6f4c42da27 100644
--- a/erts/doc/src/zlib.xml
+++ b/erts/doc/src/zlib.xml
@@ -71,6 +71,11 @@ list_to_binary([Compressed|Last])</pre>
called prior to a call to
<seealso marker="#inflate/2"><c>inflate/2</c></seealso>.
</item>
+ <tag><c>not_on_controlling_process</c></tag>
+ <item>The stream was used by a process that doesn't control it. Use
+ <seealso marker="#set_controlling_process/2">
+ <c>set_controlling_process/2</c></seealso> if you need to transfer
+ a stream to a different process.</item>
<tag><c>data_error</c></tag>
<item>The data contains errors.
</item>
@@ -740,6 +745,15 @@ loop(Z, Handler, {finished, Output}) ->
</func>
<func>
+ <name name="set_controlling_process" arity="2"/>
+ <fsummary>Transfers ownership of a zlib stream.</fsummary>
+ <desc>
+ <p>Changes the controlling process of <c><anno>Z</anno></c> to
+ <c><anno>Pid</anno></c>, which must be a local process.</p>
+ </desc>
+ </func>
+
+ <func>
<name name="uncompress" arity="1"/>
<fsummary>Uncompress data with standard zlib functionality.</fsummary>
<desc>