From 93d57bd73a885df46f45a1e771a8f9568144fd6a Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 15 Aug 2015 13:37:17 -0700 Subject: Factor function environment preparation into its own function --- src/env.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/env.h') 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. */ -- cgit v1.2.3