aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src/erlang.xml
diff options
context:
space:
mode:
authorPeter Lemenkov <[email protected]>2014-11-02 19:49:55 +0300
committerPeter Lemenkov <[email protected]>2014-11-02 19:52:00 +0300
commit1bc59d68f5d22650fa18aa064ed8e50fc9a6a216 (patch)
treebf0a5463c3ba1c84fa91e392cd8e9ca98b84d528 /erts/doc/src/erlang.xml
parent4e969748e47566c974ce526ade50c34ab62e3b26 (diff)
downloadotp-1bc59d68f5d22650fa18aa064ed8e50fc9a6a216.tar.gz
otp-1bc59d68f5d22650fa18aa064ed8e50fc9a6a216.tar.bz2
otp-1bc59d68f5d22650fa18aa064ed8e50fc9a6a216.zip
Expose NIF version
This patch allows checking for NIF API version in a way similar to driver version. E.g. by calling erlang:system_info(nif_version). Signed-off-by: Peter Lemenkov <[email protected]>
Diffstat (limited to 'erts/doc/src/erlang.xml')
-rw-r--r--erts/doc/src/erlang.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 111756407f..483d81cfb6 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -6144,6 +6144,11 @@ ok
<seealso marker="#system_info_multi_scheduling">erlang:system_info(multi_scheduling)</seealso>, and
<seealso marker="#system_info_schedulers">erlang:system_info(schedulers)</seealso>.</p>
</item>
+ <tag><c>nif_version</c></tag>
+ <item>
+ <p>Returns a string containing the erlang NIF version
+ used by the runtime system. It will be on the form "&lt;major ver&gt;.&lt;minor ver&gt;".</p>
+ </item>
<tag><marker id="system_info_otp_release"><c>otp_release</c></marker></tag>
<item>
<p>Returns a string containing the OTP release number of the