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 2020/06/24 07:07:06 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #1280: Implement fseeko and ftello

xiaoxiang781216 commented on pull request #1280:
URL: https://github.com/apache/incubator-nuttx/pull/1280#issuecomment-648636305


   > what's the point to have prototypes without implementations?
   
   Normally, I will try to implement the function if it isn't to hard like: https://github.com/apache/incubator-nuttx/pull/1279
   But, it's hard for utimes/chmod/fchmod since VFS layer lack these concept.
   On the other hand, the standard c++ library(e.g. libc++) using all most of c standard functions in header files like this:
   ```
   #include <__config>
   #include <stdio.h>
   
   #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
   #pragma GCC system_header
   #endif
   
   _LIBCPP_BEGIN_NAMESPACE_STD
   
   using ::FILE;
   using ::fpos_t;
   using ::size_t;
   
   using ::fclose;
   ```
   but don't really use them inside the library.


----------------------------------------------------------------
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:
users@infra.apache.org