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:
patacongo 2007-05-27 18:08:18 +00:00
parent 0c8bb6aac5
commit a0153a1ed2
17 changed files with 612 additions and 113 deletions

View file

@ -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.