TimJTi commented on issue #16570: URL: https://github.com/apache/nuttx/issues/16570#issuecomment-2995555886
> > > ...BTW, the better fix is switching fopen/fclose to open/close as much as we can. > > > > > > I thought fopen/fclose was the preferred, portable, method? Since open/close are not ANSI C IIRC. > > open/close is specified by POSIX. So, if you don't plan to port your code to Windows, open/close is equal to fopen/fclose. Apologies - most of my (patchy!) software life has been "pure" C not POSIX so I probably remembered something from back way yonder that, in this/our context, was incorrect. Sorry! -- 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]
