You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/09/11 08:41:33 UTC

[GitHub] [incubator-nuttx] Donny9 opened a new pull request #4512: lib_vsprintf: Add %pV format support

Donny9 opened a new pull request #4512:
URL: https://github.com/apache/incubator-nuttx/pull/4512


   
   ## Summary
   lib_vsprintf: Add %pV format support to 
   ## Impact
   
   ## Testing
   * test case:
   ```
   void test(const char *fmt, ...)
   {
     struct va_format vaf;
     va_list ap;
   
     va_start(ap, fmt);
     vaf.fmt = fmt;
     vaf.va = & ap;
     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
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #4512: lib_vsprintf: Add %pV format support

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #4512:
URL: https://github.com/apache/incubator-nuttx/pull/4512


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org