aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/env.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-08-15 13:37:17 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-08-15 13:37:17 -0700
commit93d57bd73a885df46f45a1e771a8f9568144fd6a (patch)
tree8a08e090c232692f7cdc7b31d87f976f7efad07e /src/env.h
parent60798798ef37fc0dcee3edece62ca11fb2d1ced8 (diff)
Factor function environment preparation into its own function
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/env.h b/src/env.h
index 411b51ec..d7b4c23d 100644
--- a/src/env.h
+++ b/src/env.h
@@ -209,6 +209,9 @@ void env_universal_barrier();
/** Returns an array containing all exported variables in a format suitable for execv. */
const char * const * env_export_arr(bool recalc);
+/** Sets up argv as the given null terminated array of strings */
+void env_set_argv(const wchar_t * const * argv);
+
/**
Returns all variable names.
*/