mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
Comment out references to fstat(). It is not yet supported.
This commit is contained in:
parent
e2f04ec796
commit
c704a5289c
3 changed files with 9 additions and 4 deletions
|
@ -13,7 +13,7 @@
|
|||
<h1><big><font color="#3c34ec"><i>NuttX Operating System<p>User's Manual</i></font></big></h1>
|
||||
<p><small>by</small></p>
|
||||
<p>Gregory Nutt<p>
|
||||
<p>Last Updated: April 9, 2015</p>
|
||||
<p>Last Updated: June 2, 2015</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -8097,7 +8097,9 @@ FAR char *tempnam(FAR const char *dir, FAR const char *pfx);
|
|||
int mkdir(FAR const char *pathname, mode_t mode);
|
||||
int mkfifo(FAR const char *pathname, mode_t mode);
|
||||
int stat(const char *path, FAR struct stat *buf);
|
||||
#if 0 /* Not yet supported */
|
||||
int fstat(int fd, FAR struct stat *buf);
|
||||
#endif
|
||||
|
||||
#include <sys/statfs.h>
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ static inline int elf_filelen(FAR struct elf_loadinfo_s *loadinfo,
|
|||
if (ret < 0)
|
||||
{
|
||||
int errval = errno;
|
||||
bdbg("Failed to fstat file: %d\n", errval);
|
||||
bdbg("Failed to stat file: %d\n", errval);
|
||||
return -errval;
|
||||
}
|
||||
|
||||
|
|
|
@ -100,8 +100,9 @@
|
|||
* Type Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* This is the simplified struct stat as returned by fstat(). This structure
|
||||
* provides information about a specific file or directory in the file system.
|
||||
/* This is the simplified struct stat as returned by stat() and fstat().
|
||||
* This structure provides information about a specific file or directory in
|
||||
* the file system.
|
||||
*/
|
||||
|
||||
struct stat
|
||||
|
@ -131,7 +132,9 @@ extern "C"
|
|||
int mkdir(FAR const char *pathname, mode_t mode);
|
||||
int mkfifo(FAR const char *pathname, mode_t mode);
|
||||
int stat(const char *path, FAR struct stat *buf);
|
||||
#if 0 /* Not yet supported */
|
||||
int fstat(int fd, FAR struct stat *buf);
|
||||
#endif
|
||||
|
||||
#undef EXTERN
|
||||
#if defined(__cplusplus)
|
||||
|
|
Loading…
Reference in a new issue