aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src/erl_nif.xml
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-02-14 14:04:03 +0100
committerSverker Eriksson <[email protected]>2017-02-20 20:06:36 +0100
commitb0f0c476dc6738ddebc6d1f189a4d5c4f8ecf8de (patch)
treeb0127dbdd2be84346a54071892b84726a3f422ee /erts/doc/src/erl_nif.xml
parent471a22dd081da31933c883afe686007793812075 (diff)
downloadotp-b0f0c476dc6738ddebc6d1f189a4d5c4f8ecf8de.tar.gz
otp-b0f0c476dc6738ddebc6d1f189a4d5c4f8ecf8de.tar.bz2
otp-b0f0c476dc6738ddebc6d1f189a4d5c4f8ecf8de.zip
Fix erl_nif doc
Diffstat (limited to 'erts/doc/src/erl_nif.xml')
-rw-r--r--erts/doc/src/erl_nif.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml
index a55092332e..b31052287d 100644
--- a/erts/doc/src/erl_nif.xml
+++ b/erts/doc/src/erl_nif.xml
@@ -2649,7 +2649,7 @@ enif_map_iterator_destroy(env, &amp;iter);</code>
<p>Example:</p>
<code type="none">
retval = enif_select(env, fd, ERL_NIF_SELECT_STOP, resource, ref);
-if (retval < 0) {
+if (retval &lt; 0) {
/* handle error */
}
/* Success! */