Lines Matching refs:envp
112 static s32 get_envp_count(char **envp);
113 static char **prepend_envp(char **new_envp, char **envp, s32 envp_elems,
1067 char **new_envp; /* Updated envp[] array. */
1069 s32 envp_elems; /* Num elements in envp[]. */
1116 /*Prepend "PROC_ID=<nproc_id>"to envp array for target. */
1829 * Return the number of elements in the envp array, including the
1832 static s32 get_envp_count(char **envp)
1835 if (envp) {
1836 while (*envp++)
1848 * Prepend an environment variable=value pair to the new envp array, and
1849 * copy in the existing var=value pairs in the old envp array.
1851 static char **prepend_envp(char **new_envp, char **envp, s32 envp_elems,
1863 *new_envp++ = *envp++;