Changeset 08e103d4 in mainline for uspace/lib/c/generic/inetcfg.c


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

    rd066259 r08e103d4  
    149149        }
    150150
    151         rc = async_data_write_start(exch, name, str_size(name));
     151        rc = async_data_write_start(exch, name, str_bytes(name));
    152152
    153153        async_exchange_end(exch);
     
    234234        ipc_call_t answer;
    235235        aid_t req = async_send_1(exch, INETCFG_ADDR_GET_ID, link_id, &answer);
    236         errno_t retval = async_data_write_start(exch, name, str_size(name));
     236        errno_t retval = async_data_write_start(exch, name, str_bytes(name));
    237237
    238238        async_exchange_end(exch);
     
    347347        }
    348348
    349         rc = async_data_write_start(exch, name, str_size(name));
     349        rc = async_data_write_start(exch, name, str_bytes(name));
    350350
    351351        async_exchange_end(exch);
     
    444444        ipc_call_t answer;
    445445        aid_t req = async_send_0(exch, INETCFG_SROUTE_GET_ID, &answer);
    446         errno_t retval = async_data_write_start(exch, name, str_size(name));
     446        errno_t retval = async_data_write_start(exch, name, str_bytes(name));
    447447
    448448        async_exchange_end(exch);
Note: See TracChangeset for help on using the changeset viewer.