Changeset 08e103d4 in mainline for uspace/lib/c/generic/io/asprintf.c
- Timestamp:
- 2019-02-05T18:26:05Z (6 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/asprintf.c
rd066259 r08e103d4 43 43 static int asprintf_str_write(const char *str, size_t count, void *unused) 44 44 { 45 return str_n length(str, count);45 return str_ncode_points(str, count); 46 46 } 47 47 48 48 static int asprintf_wstr_write(const wchar_t *str, size_t count, void *unused) 49 49 { 50 return wstr_n length(str, count);50 return wstr_ncode_points(str, count); 51 51 } 52 52 53 int vprintf_ length(const char *fmt, va_list args)53 int vprintf_code_points(const char *fmt, va_list args) 54 54 { 55 55 printf_spec_t ps = { … … 62 62 } 63 63 64 int printf_ length(const char *fmt, ...)64 int printf_code_points(const char *fmt, ...) 65 65 { 66 66 va_list args; 67 67 va_start(args, fmt); 68 int ret = vprintf_ length(fmt, args);68 int ret = vprintf_code_points(fmt, args); 69 69 va_end(args); 70 70
Note:
See TracChangeset
for help on using the changeset viewer.