Changeset 08e103d4 in mainline for uspace/srv/loader/main.c


Ignore:
Timestamp:
2019-02-05T18:26:05Z (6 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/srv/loader/main.c

    rd066259 r08e103d4  
    186186
    187187                while (cur < buf + buf_size) {
    188                         size_t arg_size = str_size(cur);
     188                        size_t arg_size = str_bytes(cur);
    189189                        cur += arg_size + 1;
    190190                        count++;
     
    209209                        _argv[count] = cur;
    210210
    211                         size_t arg_size = str_size(cur);
     211                        size_t arg_size = str_bytes(cur);
    212212                        cur += arg_size + 1;
    213213                        count++;
Note: See TracChangeset for help on using the changeset viewer.