Changeset cca2d93b in mainline


Ignore:
Timestamp:
2019-02-05T16:00:20Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d066259
Parents:
4f4018b
Message:

Rename (v)printf_size to (v)print_length, to match <str.h> naming scheme

Location:
uspace/lib/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/asprintf.c

    r4f4018b rcca2d93b  
    5151}
    5252
    53 int vprintf_size(const char *fmt, va_list args)
     53int vprintf_length(const char *fmt, va_list args)
    5454{
    5555        printf_spec_t ps = {
     
    6262}
    6363
    64 int printf_size(const char *fmt, ...)
     64int printf_length(const char *fmt, ...)
    6565{
    6666        va_list args;
    6767        va_start(args, fmt);
    68         int ret = vprintf_size(fmt, args);
     68        int ret = vprintf_length(fmt, args);
    6969        va_end(args);
    7070
  • uspace/lib/c/include/stdio.h

    r4f4018b rcca2d93b  
    204204};
    205205
    206 extern int vprintf_size(const char *, va_list);
    207 extern int printf_size(const char *, ...)
     206extern int vprintf_length(const char *, va_list);
     207extern int printf_length(const char *, ...)
    208208    _HELENOS_PRINTF_ATTRIBUTE(1, 2);
    209209extern FILE *fdopen(int, const char *);
Note: See TracChangeset for help on using the changeset viewer.