Changeset 08e103d4 in mainline for uspace/lib/c/generic/vol.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/lib/c/generic/vol.c

    rd066259 r08e103d4  
    328328        aid_t req = async_send_0(exch, VOL_PART_INSERT_BY_PATH, &answer);
    329329
    330         retval = async_data_write_start(exch, path, str_size(path));
     330        retval = async_data_write_start(exch, path, str_bytes(path));
    331331        if (retval != EOK) {
    332332                async_exchange_end(exch);
     
    395395        aid_t req = async_send_2(exch, VOL_PART_MKFS, sid, fstype, &answer);
    396396
    397         retval = async_data_write_start(exch, label, str_size(label));
     397        retval = async_data_write_start(exch, label, str_bytes(label));
    398398        if (retval != EOK) {
    399399                async_exchange_end(exch);
     
    402402        }
    403403
    404         retval = async_data_write_start(exch, mountp, str_size(mountp));
     404        retval = async_data_write_start(exch, mountp, str_bytes(mountp));
    405405        if (retval != EOK) {
    406406                async_exchange_end(exch);
     
    437437            &answer);
    438438
    439         retval = async_data_write_start(exch, mountp, str_size(mountp));
     439        retval = async_data_write_start(exch, mountp, str_bytes(mountp));
    440440        if (retval != EOK) {
    441441                async_exchange_end(exch);
Note: See TracChangeset for help on using the changeset viewer.