aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_nif.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-12-08 20:37:59 +0100
committerSverker Eriksson <[email protected]>2015-11-26 19:48:09 +0100
commitef45d2c9f874354b17c2aca96de7b3306a9eb943 (patch)
tree7236c8f7c39c6bd0b305e17549c747ec6293bfd8 /erts/emulator/beam/erl_nif.h
parent01cc99b35c00be86d832693776ee8ed880b59882 (diff)
downloadotp-ef45d2c9f874354b17c2aca96de7b3306a9eb943.tar.gz
otp-ef45d2c9f874354b17c2aca96de7b3306a9eb943.tar.bz2
otp-ef45d2c9f874354b17c2aca96de7b3306a9eb943.zip
erts: Add enif_getenv
to read OS environment variables in a safe and portable way.
Diffstat (limited to 'erts/emulator/beam/erl_nif.h')
-rw-r--r--erts/emulator/beam/erl_nif.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_nif.h b/erts/emulator/beam/erl_nif.h
index 7d880126f8..4cbfd8360b 100644
--- a/erts/emulator/beam/erl_nif.h
+++ b/erts/emulator/beam/erl_nif.h
@@ -48,9 +48,10 @@
** add ErlNifEntry options
** add ErlNifFunc flags
** 2.8: 18.0 add enif_has_pending_exception
+** 2.9: 18.2 enif_getenv
*/
#define ERL_NIF_MAJOR_VERSION 2
-#define ERL_NIF_MINOR_VERSION 8
+#define ERL_NIF_MINOR_VERSION 9
/*
* The emulator will refuse to load a nif-lib with a major version