mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 00:30:23 +00:00
Add stat()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@257 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
0c8bb6aac5
commit
a0153a1ed2
17 changed files with 612 additions and 113 deletions
|
|
@ -163,6 +163,7 @@ struct mountpt_operations
|
|||
int (*mkdir)(struct inode *mountpt, const char *relpath, mode_t mode);
|
||||
int (*rmdir)(struct inode *mountpt, const char *relpath);
|
||||
int (*rename)(struct inode *mountpt, const char *oldrelpath, const char *newrelpath);
|
||||
int (*stat)(struct inode *mountpt, const char *relpath, struct stat *buf);
|
||||
|
||||
/* NOTE: More operations will be needed here to support: disk usage stats
|
||||
* file stat(), file attributes, file truncation, etc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue