Ignore:
File:
1 edited

Legend:

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

    rcde999a ra35b458  
    5858                NULL
    5959        };
    60        
     60
    6161        return printf_core(fmt, &ps, args);
    6262}
     
    6868        int ret = vprintf_size(fmt, args);
    6969        va_end(args);
    70        
     70
    7171        return ret;
    7272}
     
    8888        int ret = vprintf_size(fmt, args2);
    8989        va_end(args2);
    90        
     90
    9191        if (ret > 0) {
    9292                *strp = malloc(STR_BOUNDS(ret) + 1);
    9393                if (*strp == NULL)
    9494                        return -1;
    95                
     95
    9696                vsnprintf(*strp, STR_BOUNDS(ret) + 1, fmt, args);
    9797        }
    98        
     98
    9999        return ret;
    100100}
     
    115115        int ret = vasprintf(strp, fmt, args);
    116116        va_end(args);
    117        
     117
    118118        return ret;
    119119}
Note: See TracChangeset for help on using the changeset viewer.