summaryrefslogtreecommitdiff
path: root/nuttx/include/stdio.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-05-27 18:08:18 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-05-27 18:08:18 +0000
commit9f53bc85a64da31a21ede71a112f2f6c0486417b (patch)
tree5a9efc0762dca5d39b1f748bb516e19d38fb178a /nuttx/include/stdio.h
parent9f5af96aa10a6bca769370503e19b4651b81c0a9 (diff)
downloadpx4-nuttx-9f53bc85a64da31a21ede71a112f2f6c0486417b.tar.gz
px4-nuttx-9f53bc85a64da31a21ede71a112f2f6c0486417b.tar.bz2
px4-nuttx-9f53bc85a64da31a21ede71a112f2f6c0486417b.zip
Add stat()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@257 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/stdio.h')
-rw-r--r--nuttx/include/stdio.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/nuttx/include/stdio.h b/nuttx/include/stdio.h
index bdad75eb6..592ded26a 100644
--- a/nuttx/include/stdio.h
+++ b/nuttx/include/stdio.h
@@ -80,29 +80,6 @@
* Public Type Definitions
************************************************************/
-struct stat
-{
- dev_t st_dev; /* ID of device containing a */
- /* directory entry for this file */
- ino_t st_ino; /* Inode number */
- unsigned short st_mode; /* File type, attributes, and */
- /* access control summary */
- unsigned short st_nlink; /* Number of links */
- uid_t st_uid; /* User ID of file owner */
- gid_t st_gid; /* Group ID of file group */
- dev_t st_rdev; /* Device ID; this entry defined */
- /* only for char or blk spec files */
- off_t st_size; /* File size (bytes) */
- time_t st_atime; /* Time of last access */
- time_t st_mtime; /* Last modification time */
- time_t st_ctime; /* Last file status change time */
- /* Measured in secs since */
- /* 00:00:00 GMT, Jan 1, 1970 */
- long st_blksize; /* Non-standard, Wind-River field */
- unsigned long st_blocks; /* Non-standard, Wind-River field */
- long st_gen; /* file generation value: Non-standard, Wind-River field */
-};
-
struct statfs
{
long f_bavail; /* free blocks available to non-superuser */
@@ -166,9 +143,7 @@ EXTERN int vsprintf(char *buf, const char *s, va_list ap);
EXTERN int chdir(const char *path);
EXTERN FILE *fdopen(int fd, const char *type);
-EXTERN int fstat(int fd, FAR struct stat *buf);
EXTERN char *getcwd(FAR char *buf, size_t size);
-EXTERN int stat(const char *path, FAR struct stat *buf);
EXTERN int statfs(const char *path, FAR struct statfs *buf);
#undef EXTERN