aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-02-08 15:47:49 +0100
committerSverker Eriksson <[email protected]>2016-02-08 16:11:56 +0100
commit7a319cd96f7f4869300b32442ebe892ae557f41c (patch)
tree74eac8b419d1f9de35b5deb46bdf2f4e3884df25 /erts/doc
parent14680fcc3fb9d0357fe33a94525d08896afed1c5 (diff)
downloadotp-7a319cd96f7f4869300b32442ebe892ae557f41c.tar.gz
otp-7a319cd96f7f4869300b32442ebe892ae557f41c.tar.bz2
otp-7a319cd96f7f4869300b32442ebe892ae557f41c.zip
erts: Fix error cases in enif_get_list_length
false if improper list false if length > UINT_MAX
Diffstat (limited to 'erts/doc')
-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 420c9fea38..be0e406b9c 100644
--- a/erts/doc/src/erl_nif.xml
+++ b/erts/doc/src/erl_nif.xml
@@ -753,7 +753,7 @@ typedef enum {
<func><name><ret>int</ret><nametext>enif_get_list_length(ErlNifEnv* env, ERL_NIF_TERM term, unsigned* len)</nametext></name>
<fsummary>Get the length of list <c>term</c></fsummary>
<desc><p>Set <c>*len</c> to the length of list <c>term</c> and return true,
- or return false if <c>term</c> is not a list.</p></desc>
+ or return false if <c>term</c> is not a proper list.</p></desc>
</func>
<func><name><ret>int</ret><nametext>enif_get_long(ErlNifEnv* env, ERL_NIF_TERM term, long int* ip)</nametext></name>
<fsummary>Read an long integer term</fsummary>