/* Parse the flag charachters from the .flags attribute list into the binary form to be stored in the environment entry->flags field.  */
static int env_parse_flags_to_bin(const char *flags)
/* Parse the flag charachters from the .flags attribute list into the binary form to be stored in the environment entry->flags field.  */
static int env_parse_flags_to_bin(const char *flags)
{
	int binflags;
	binflags = env_flags_parse_vartype(flags) & ENV_FLAGS_VARTYPE_BIN_MASK;
	binflags |= env_flags_varaccess_mask[env_flags_parse_varaccess(flags)];
	return binflags;
}