aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src/erl_driver.xml
diff options
context:
space:
mode:
Diffstat (limited to 'erts/doc/src/erl_driver.xml')
-rw-r--r--erts/doc/src/erl_driver.xml17
1 files changed, 12 insertions, 5 deletions
diff --git a/erts/doc/src/erl_driver.xml b/erts/doc/src/erl_driver.xml
index 0b11f4bbcb..63108f41f0 100644
--- a/erts/doc/src/erl_driver.xml
+++ b/erts/doc/src/erl_driver.xml
@@ -4,7 +4,7 @@
<cref>
<header>
<copyright>
- <year>2001</year><year>2009</year>
+ <year>2001</year><year>2010</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -13,12 +13,12 @@
compliance with the License. You should have received a copy of the
Erlang Public License along with this software. If not, it can be
retrieved online at http://www.erlang.org/.
-
+
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
the License for the specific language governing rights and limitations
under the License.
-
+
</legalnotice>
<title>erl_driver</title>
@@ -299,6 +299,8 @@ typedef struct ErlDrvSysInfo {
int smp_support;
int async_threads;
int scheduler_threads;
+ int nif_major_version;
+ int nif_minor_version;
} ErlDrvSysInfo;
</code>
@@ -365,9 +367,14 @@ typedef struct ErlDrvSysInfo {
(the same as returned by
<seealso marker="erts:erlang#system_info_schedulers">erlang:system_info(schedulers)</seealso>).
</item>
+ <tag><c>nif_major_version</c></tag>
+ <item>The value of <c>ERL_NIF_MAJOR_VERSION</c> when the runtime system was compiled.
+ </item>
+ <tag><c>nif_minor_version</c></tag>
+ <item>The value of <c>ERL_NIF_MINOR_VERSION</c> when the runtime system was compiled.
+ </item>
</taglist>
</item>
-
<tag><marker id="ErlDrvBinary"/>ErlDrvBinary</tag>
<item>
<p/>
@@ -1292,7 +1299,7 @@ typedef struct ErlIOVec {
has been set in the
<seealso marker="driver_entry">driver_entry</seealso>,
data can be forced into the driver via
- <seealso marker="erlang#erlang:port_command/3">port_command(Port, Data, [force])</seealso>
+ <seealso marker="erlang#port_command/3">port_command(Port, Data, [force])</seealso>
even though the driver has signaled that it is busy.
</p>
</desc>