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
  • kernel/genarch/src/multiboot/multiboot.c

    rd066259 r08e103d4  
    5151        const char *end = str_chr(cmd_line, ' ');
    5252        if (end == NULL)
    53                 end = cmd_line + str_size(cmd_line);
     53                end = cmd_line + str_bytes(cmd_line);
    5454
    5555        /*
     
    8888        }
    8989
    90         const char *end = cmd_line + str_size(cmd_line);
     90        const char *end = cmd_line + str_bytes(cmd_line);
    9191
    9292        /* Skip the space(s). */
Note: See TracChangeset for help on using the changeset viewer.