diff options
author | Sverker Eriksson <[email protected]> | 2018-03-16 17:11:39 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-03-22 16:22:33 +0100 |
commit | 97a5f6c89c7b937e0a1192e02a7dc94f64f558cf (patch) | |
tree | cd35acb1db2c24cdf9af7c25b1984dc30ea3c603 /erts | |
parent | e36c103236ac70c29caf910d31651bed6c24dfe8 (diff) | |
download | otp-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.xml | 6 |
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 & 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> |