src/lib/edit.c
bool size_to_uint64(char *str, int str_len, uint64_t *value)
{
   /* first item * not used */
   static const char *mod[]  = {"*", "k", "kb", "m", "mb",
                                     "g", "gb", "t", "tb", NULL};
   return strunit_to_uint64(str, str_len, value, mod);
}
/*
 * Convert a size in bytes to uint64_t
 * Returns false: if error
           true:  if OK, and value stored in value
 */
Convert a size in bytes to uint64_t
Returns false: if error
true:  if OK, and value stored in value
Convert a size in bytes to uint64_t Returns false : if error true : if OK and value stored in value
bool size_to_uint64(char *str, int str_len, uint64_t *value)
{
   static const char *mod[]  = {"*", "k", "kb", "m", "mb",
                                     "g", "gb", "t", "tb", NULL};
   return strunit_to_uint64(str, str_len, value, mod);
}
bool size_to_uint64 ( char * str , int str_len , uint64_t * value ) { static const char * mod [ ] = { " " , " " , " " , " " , " " , " " , " " , " " , " " , NULL } ; return strunit_to_uint64 ( str , str_len , value , mod ) ; }
Convert a size in bytes to uint64_t
 Returns false: if error
true:  if OK, and value stored in value
Convert a size in bytes to uint64_t Returns false : if error true : if OK and value stored in value
/* first item * not used */