mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Add basic fstat() support. Now all that is needed is to modify ALL of the file systems.
This commit is contained in:
@@ -265,6 +265,7 @@ struct mountpt_operations
|
||||
|
||||
int (*sync)(FAR struct file *filep);
|
||||
int (*dup)(FAR const struct file *oldp, FAR struct file *newp);
|
||||
int (*fstat)(FAR const struct file *filep, FAR struct stat *buf);
|
||||
|
||||
/* Directory operations */
|
||||
|
||||
|
||||
@@ -155,9 +155,7 @@ 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)
|
||||
|
||||
Reference in New Issue
Block a user