xiaoxiang781216 commented on issue #2203: URL: https://github.com/apache/incubator-nuttx/issues/2203#issuecomment-721692424
Not really need, it is enough to initialize the preallocated FILE structure to zero, because stdio function will find the flag is invalid and return directly. On the other hand, /dev/null isn't reliable because user can disable /dev/null too. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org