diff options
Diffstat (limited to 'include/env.h')
-rw-r--r-- | include/env.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/env.h b/include/env.h index 5c780f30d6..8898b78b8e 100644 --- a/include/env.h +++ b/include/env.h @@ -64,6 +64,15 @@ int env_match(unsigned char *name, int index); int env_get_f(const char *name, char *buf, unsigned int len); /** + * env_set_ulong() - set an environment variable to an integer + * + * @varname: Variable to adjust + * @value: Value to set for the variable (will be converted to a string) + * @return 0 if OK, 1 on error + */ +int env_set_ulong(const char *varname, ulong value); + +/** * env_set_hex() - set an environment variable to a hex value * * @varname: Variable to adjust |