diff options
author | Sverker Eriksson <[email protected]> | 2019-01-31 19:43:23 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-01-31 19:43:23 +0100 |
commit | 5ab76d9263e4a81ccac2fc5591c520dbce6927de (patch) | |
tree | 270c1724d0be6ae3f9ec62ab7303f368b6887cf2 /erts/doc/src | |
parent | 10b400a0433cf2ebcffe9ca702a26690123df81f (diff) | |
parent | 14fe4c3ccf93c023f851512e573e2bac7d00b232 (diff) | |
download | otp-5ab76d9263e4a81ccac2fc5591c520dbce6927de.tar.gz otp-5ab76d9263e4a81ccac2fc5591c520dbce6927de.tar.bz2 otp-5ab76d9263e4a81ccac2fc5591c520dbce6927de.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/doc/src')
-rw-r--r-- | erts/doc/src/erlang.xml | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 92e979c046..b5c59847f6 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -4174,9 +4174,16 @@ RealSystem = system + MissedSystem</code> </item> <tag><c>badarg</c></tag> <item> - If the port driver so decides for any reason (probably + <p>If the port driver so decides for any reason (probably something wrong with <c><anno>Operation</anno></c> - or <c><anno>Data</anno></c>). + or <c><anno>Data</anno></c>).</p> + <warning> + <p>Do not call <c>port_call</c> with an unknown + <c><anno>Port</anno></c> identifier and expect <c>badarg</c> + exception. Any undefined behavior is possible (including node + crash) depending on how the port driver interprets the supplied + arguments.</p> + </warning> </item> </taglist> </desc> @@ -4266,6 +4273,11 @@ RealSystem = system + MissedSystem</code> <p>If <c><anno>Data</anno></c> is an invalid I/O list.</p> </item> </taglist> + <warning> + <p>Do not send data to an unknown port. Any undefined behavior is + possible (including node crash) depending on how the port driver + interprets the data.</p> + </warning> </desc> </func> @@ -4325,6 +4337,11 @@ RealSystem = system + MissedSystem</code> a busy port. </item> </taglist> + <warning> + <p>Do not send data to an unknown port. Any undefined behavior is + possible (including node crash) depending on how the port driver + interprets the data.</p> + </warning> </desc> </func> @@ -4429,6 +4446,13 @@ RealSystem = system + MissedSystem</code> If the port driver so decides for any reason (probably something wrong with <c><anno>Operation</anno></c> or <c><anno>Data</anno></c>). + <warning> + <p>Do not call <c>port_control/3</c> with an unknown + <c><anno>Port</anno></c> identifier and expect <c>badarg</c> + exception. Any undefined behavior is possible (including node + crash) depending on how the port driver interprets the supplied + arguments.</p> + </warning> </item> </taglist> </desc> |