diff options
author | Sverker Eriksson <[email protected]> | 2014-12-08 20:36:28 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2015-11-10 16:40:24 +0100 |
commit | 01cc99b35c00be86d832693776ee8ed880b59882 (patch) | |
tree | 04dcd137a9758f1ae38626f22b3ec7b1f67b24a1 /erts/doc/src | |
parent | 38ddf72b48377bd6b2fb8c4b6981360ae7d44d79 (diff) | |
download | otp-01cc99b35c00be86d832693776ee8ed880b59882.tar.gz otp-01cc99b35c00be86d832693776ee8ed880b59882.tar.bz2 otp-01cc99b35c00be86d832693776ee8ed880b59882.zip |
erts: Make key argument constant for erl_drv_{get|put}env
This should be a harmless and compatible API change.
Diffstat (limited to 'erts/doc/src')
-rw-r--r-- | erts/doc/src/erl_driver.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/doc/src/erl_driver.xml b/erts/doc/src/erl_driver.xml index 1f7fe0f961..d829aeda10 100644 --- a/erts/doc/src/erl_driver.xml +++ b/erts/doc/src/erl_driver.xml @@ -2811,7 +2811,7 @@ ERL_DRV_MAP int sz </func> <func> - <name><ret>int</ret><nametext>erl_drv_putenv(char *key, char *value)</nametext></name> + <name><ret>int</ret><nametext>erl_drv_putenv(const char *key, char *value)</nametext></name> <fsummary>Set the value of an environment variable</fsummary> <desc> <marker id="erl_drv_putenv"></marker> @@ -2840,7 +2840,7 @@ ERL_DRV_MAP int sz </desc> </func> <func> - <name><ret>int</ret><nametext>erl_drv_getenv(char *key, char *value, size_t *value_size)</nametext></name> + <name><ret>int</ret><nametext>erl_drv_getenv(const char *key, char *value, size_t *value_size)</nametext></name> <fsummary>Get the value of an environment variable</fsummary> <desc> <marker id="erl_drv_getenv"></marker> |