Changeset 08e103d4 in mainline for uspace/app/sbi/src/os/os.h


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/app/sbi/src/os/os.h

    rd066259 r08e103d4  
    3636int os_str_cmp(const char *a, const char *b);
    3737char *os_str_dup(const char *str);
    38 size_t os_str_length(const char *str);
     38size_t os_str_code_points(const char *str);
    3939errno_t os_str_get_char(const char *str, int index, int *out_char);
    4040char *os_chr_to_astr(wchar_t chr);
Note: See TracChangeset for help on using the changeset viewer.