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/11/29 04:38:59 UTC

[GitHub] [incubator-nuttx] anjiahao1 opened a new pull request #4914: include/stdio:add setlinebuf marco

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


   Signed-off-by: anjiahao <an...@xiaomi.com>
   
   ## Summary
   add `setlinebuf` marco
   The setbuffer() function is the same, except that the size of the buffer is up to the caller, rather than being determined by the default BUFSIZ. The setlinebuf() function is exactly equivalent to the call:
   setvbuf(stream, NULL, _IOLBF, 0);
   ![image](https://user-images.githubusercontent.com/75056955/143809821-ac29f4ab-dc7b-4cf3-858b-a1f5db5e7ac7.png)
   https://linux.die.net/man/3/setlinebuf
   ## Impact
   
   ## Testing
   
   


-- 
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 #4914: include/stdio:add setlinebuf marco

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


   


-- 
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