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


   Signed-off-by: anjiahao <[email protected]>
   
   ## 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to