Lines Matching refs:env
45 static char *ENVFILE = "/etc/default/init"; /* Default env. */
201 find_dup(const char *var, char **env, const restarter_inst_t *inst)
206 for (p = env; *p != NULL; p++) {
220 if (inst != NULL && p != env &&
248 * If env is NULL, then the return is an environment which contains
254 * NB: The returned env and strings are allocated using startd_alloc().
257 set_smf_env(char **env, size_t env_sz, const char *path,
266 * Max. of glob_env, env, four SMF_ variables,
319 if (env) {
320 for (p = env; *p != NULL; p++) {