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-07-25 18:36:53 -07:00
2021-07-25 18:36:53 -07:00
2021-07-25 18:36:53 -07: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
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-03 18:52:53 -08:00
2021-03-03 18:52:53 -08:00
2020-06-24 16:56:44 +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-04-02 11:12:25 -05:00
2020-06-03 07:35:08 -06:00