aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-03-16 17:11:39 +0100
committerSverker Eriksson <[email protected]>2018-03-22 16:22:33 +0100
commit97a5f6c89c7b937e0a1192e02a7dc94f64f558cf (patch)
treecd35acb1db2c24cdf9af7c25b1984dc30ea3c603 /erts
parente36c103236ac70c29caf910d31651bed6c24dfe8 (diff)
downloadotp-97a5f6c89c7b937e0a1192e02a7dc94f64f558cf.tar.gz
otp-97a5f6c89c7b937e0a1192e02a7dc94f64f558cf.tar.bz2
otp-97a5f6c89c7b937e0a1192e02a7dc94f64f558cf.zip
erts: Add statement about errno to enif_*printf docs
Diffstat (limited to 'erts')
-rw-r--r--erts/doc/src/erl_nif.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml
index 1daac88d47..6b9ca971dc 100644
--- a/erts/doc/src/erl_nif.xml
+++ b/erts/doc/src/erl_nif.xml
@@ -1252,7 +1252,8 @@ typedef struct {
<p>Similar to <c>fprintf</c> but this format string also accepts
<c>"%T"</c>, which formats Erlang terms.</p>
<p>This function was originally intenden for debugging purpose. It is not
- recommended to print very large terms with <c>%T</c>.</p>
+ recommended to print very large terms with <c>%T</c>. The function may
+ change <c>errno</c>, even if successful.</p>
</desc>
</func>
@@ -3178,7 +3179,8 @@ if (retval &amp; ERL_NIF_SELECT_STOP_CALLED) {
<p>Similar to <c>snprintf</c> but this format string also accepts
<c>"%T"</c>, which formats Erlang terms.</p>
<p>This function was originally intenden for debugging purpose. It is not
- recommended to print very large terms with <c>%T</c>.</p>
+ recommended to print very large terms with <c>%T</c>. The function may
+ change <c>errno</c>, even if successful.</p>
</desc>
</func>