Changeset 08e103d4 in mainline for uspace/app/hbench/env.c


Ignore:
Timestamp:
2019-02-05T18:26:05Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
1d2f85e
Parents:
d066259
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-05 16:16:55)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-05 18:26:05)
Message:

Use clearer naming for string length functions

This and the following commit change the names of functions, as well as
their documentation, to use unambiguous terms "bytes" and "code points"
instead of ambiguous terms "size", "length", and "characters".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/hbench/env.c

    rd066259 r08e103d4  
    4949{
    5050        param_t *param = hash_table_get_inst(item, param_t, link);
    51         return str_size(param->key);
     51        return str_bytes(param->key);
    5252}
    5353
     
    5555{
    5656        char *key_str = key;
    57         return str_size(key_str);
     57        return str_bytes(key_str);
    5858}
    5959
Note: See TracChangeset for help on using the changeset viewer.