Jiuzhu Dong
dfb4b6e3d8
lib_vsprintf: Add %pV format support
test case:
void test(const char *fmt, ...)
{
struct va_format vaf;
va_list ap;
va_start(ap, fmt);
vaf.fmt = fmt;
vaf.va = ≈
printf("func:%s, %pV, line:%d\n", __func__, &vaf, __LINE__);
va_end(ap);
}
int main(int argc, FAR char *argv[])
{
char str[] = "Hello Boy and Girl!";
int count = 10;
test("%s %d", str, count);
return 0;
}
>> test
func:test, Hello Boy and Girl! 10, line:49
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-12 21:14:46 +08:00
..
2021-08-25 12:55:36 -07:00
2021-03-03 18:52:53 -08:00
2021-03-17 03:15:17 -07:00
2021-03-03 18:52:53 -08:00
2020-09-15 14:42:36 +08:00
2021-04-12 22:58:23 -04:00
2021-04-12 22:58:23 -04:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-07-25 18:36:53 -07:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-02-21 12:40:43 +00:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-04-01 12:13:12 -05:00
2021-07-25 18:36:53 -07:00
2020-06-29 14:26:19 +09:00
2021-07-25 18:36:53 -07:00
2021-04-07 00:59:36 -05:00
2020-06-29 14:26:19 +09:00
2021-03-03 18:52:53 -08:00
2020-07-04 11:10:29 +09:00
2020-07-04 11:10:29 +09:00
2021-03-09 23:18:28 +08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2020-09-15 14:42:36 +08:00
2021-03-03 18:52:53 -08:00
2021-04-07 08:29:46 -03:00
2021-03-03 18:52:53 -08:00
2021-09-12 11:36:03 +08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-04-02 11:12:25 -05:00
2021-03-03 18:52:53 -08:00
2021-04-12 22:58:23 -04:00
2021-09-12 21:14:46 +08:00
2021-04-02 11:12:25 -05:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2020-09-11 17:58:17 +08:00
2020-07-04 11:10:29 +09:00
2020-07-04 11:10:29 +09:00
2021-03-03 18:52:53 -08:00
2020-03-09 22:51:54 +01:00
2021-03-09 23:18:28 +08:00
2021-03-01 09:23:09 +09:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-20 19:22:58 -07:00
2020-06-24 16:56:44 +08:00
2021-04-01 12:13:12 -05:00
2021-03-03 18:52:53 -08:00
2021-06-03 08:36:03 -07:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-04-01 12:13:12 -05:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2020-06-03 07:46:02 -06:00
2021-03-03 18:52:53 -08:00
2021-04-02 11:12:25 -05:00
2019-06-03 08:45:57 -06:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-04-02 11:12:25 -05:00
2021-03-03 18:52:53 -08:00
2021-05-27 08:07:25 +09:00
2020-09-11 17:58:17 +08:00
2020-06-03 07:35:08 -06:00
2021-04-02 11:12:25 -05:00
2021-03-03 18:52:53 -08:00
2021-03-09 23:18:28 +08:00
2021-03-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2021-08-25 12:55:36 -07:00