diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-28 15:11:46 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-29 16:14:51 -0800 |
commit | 909d24cde6acf87587370355d7a9cbc7dc18435c (patch) | |
tree | e859cfa7d3d39998affe6ce42bb44d47977a804b /env.h | |
parent | 4e912ef83df234d34fff4156cd2bfb165e113674 (diff) |
More work on improving interaction between fork and pthreads. Added null_terminated_array_t class.
Diffstat (limited to 'env.h')
-rw-r--r-- | env.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -157,10 +157,9 @@ void env_push( int new_scope ); */ void env_pop(); -/** - Returns an array containing all exported variables in a format suitable for execv. -*/ +/** Returns an array containing all exported variables in a format suitable for execv. */ char **env_export_arr( int recalc ); +void env_export_arr(bool recalc, null_terminated_array_t<char> &result); /** Returns all variable names. |