diff options
author | axel <axel@liljencrantz.se> | 2005-09-27 00:47:03 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-09-27 00:47:03 +1000 |
commit | 0ef22a5577b1166b0ec8ff2c0cabfd133a5341f6 (patch) | |
tree | efb21920de4bb86750dfaeb369f668ca2443f13d /env.h | |
parent | 6a3e73f87c6862f18dc24f6974caed4331416de4 (diff) |
Add support for zero element arrays
darcs-hash:20050926144703-ac50b-3ed14d14b02908862d69aec08aab35b6d0188bba.gz
Diffstat (limited to 'env.h')
-rw-r--r-- | env.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -69,6 +69,12 @@ void env_set( const wchar_t *key, wchar_t *env_get( const wchar_t *key ); /** + Returns 1 if the specified key exists. This can't be reliable done + using env_get, since env_get returns null for 0-element arrays +*/ +int env_exist( const wchar_t *key ); + +/** Remove environemnt variable \param key The name of the variable to remove |