sgenv_create_env_cache_entry
err = sgenv_create_env_cache_entry(i);
static int sgenv_create_env_cache_entry(int key_posn);