Searched refs:env_nb (Results 1 – 1 of 1) sorted by relevance
253 unsigned int env_nb = 0U; in fpm_env_init_main() local255 while (environ[env_nb]) { in fpm_env_init_main()256 env_nb++; in fpm_env_init_main()259 if ((new_environ = malloc((1U + env_nb) * sizeof (char *))) == NULL) { in fpm_env_init_main()262 new_environ[env_nb] = NULL; in fpm_env_init_main()263 while (env_nb > 0U) { in fpm_env_init_main()264 env_nb--; in fpm_env_init_main()265 new_environ[env_nb] = strdup(environ[env_nb]); in fpm_env_init_main()
Completed in 16 milliseconds