diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-05-11 17:59:06 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-05-11 18:04:12 +0200 |
commit | c324aab53c00cfe2d0809bf25fed14a78ccf3ac2 (patch) | |
tree | 9376300a8208bd3aa5d12822453cd5feb458a9d5 /erts/doc | |
parent | d3cde2d80d1cbcbbb70e4b8057a4f3772b7fa97f (diff) | |
download | otp-c324aab53c00cfe2d0809bf25fed14a78ccf3ac2.tar.gz otp-c324aab53c00cfe2d0809bf25fed14a78ccf3ac2.tar.bz2 otp-c324aab53c00cfe2d0809bf25fed14a78ccf3ac2.zip |
erts: Document enif_snprintf
Diffstat (limited to 'erts/doc')
-rw-r--r-- | erts/doc/src/erl_nif.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml index 7546f7ef81..d13302fa54 100644 --- a/erts/doc/src/erl_nif.xml +++ b/erts/doc/src/erl_nif.xml @@ -1653,6 +1653,15 @@ enif_map_iterator_destroy(env, &iter); <desc><p>Get the byte size of a resource object <c>obj</c> obtained by <seealso marker="#enif_alloc_resource">enif_alloc_resource</seealso>.</p></desc> </func> + + <func><name><ret>int</ret><nametext>enif_snprintf(char *str, size_t size, const char *format, ...)</nametext></name> + <fsummary>Format strings and Erlang terms</fsummary> + <desc> + <p>Similar to <c>snprintf</c> but this format string also accepts <c>"%T"</c> which formats Erlang terms. + </p> + </desc> + </func> + <func> <name><ret>void</ret><nametext>enif_system_info(ErlNifSysInfo *sys_info_ptr, size_t size)</nametext></name> <fsummary>Get information about the Erlang runtime system</fsummary> |