projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added gitignores to the repository.
[yaffs2.git]
/
direct
/
yaffsfs.h
diff --git
a/direct/yaffsfs.h
b/direct/yaffsfs.h
index 8a6a8b85f0aadc3b530f4cc0a5b6cf3da412a15e..b96411f0f599f77fc046132a43acd1828020d7f4 100644
(file)
--- a/
direct/yaffsfs.h
+++ b/
direct/yaffsfs.h
@@
-1,8
+1,7
@@
/*
* YAFFS: Yet another Flash File System . A NAND-flash specific file system.
*
/*
* YAFFS: Yet another Flash File System . A NAND-flash specific file system.
*
- * Copyright (C) 2002-2011 Aleph One Ltd.
- * for Toby Churchill Ltd and Brightstar Engineering
+ * Copyright (C) 2002-2018 Aleph One Ltd.
*
* Created by Charles Manning <charles@aleph1.co.uk>
*
*
* Created by Charles Manning <charles@aleph1.co.uk>
*
@@
-70,16
+69,16
@@
struct yaffs_stat {
unsigned long yst_wince_mtime[2];
unsigned long yst_wince_ctime[2];
#else
unsigned long yst_wince_mtime[2];
unsigned long yst_wince_ctime[2];
#else
-
unsigned long
yst_atime; /* time of last access */
-
unsigned long
yst_mtime; /* time of last modification */
-
unsigned long
yst_ctime; /* time of last change */
+
YTIME_T
yst_atime; /* time of last access */
+
YTIME_T
yst_mtime; /* time of last modification */
+
YTIME_T
yst_ctime; /* time of last change */
#endif
};
struct yaffs_utimbuf {
#endif
};
struct yaffs_utimbuf {
-
unsigned long
actime;
-
unsigned long
modtime;
+
YTIME_T
actime;
+
YTIME_T
modtime;
};
/* Normal POSIX-style API functions */
};
/* Normal POSIX-style API functions */
@@
-95,6
+94,8
@@
int yaffs_access(const YCHAR *path, int amode);
int yaffs_dup(int fd);
int yaffs_dup(int fd);
+int yaffs_fgetfl(int fd, int *flags);
+
int yaffs_read(int fd, void *buf, unsigned int nbyte) ;
int yaffs_write(int fd, const void *buf, unsigned int nbyte) ;
int yaffs_read(int fd, void *buf, unsigned int nbyte) ;
int yaffs_write(int fd, const void *buf, unsigned int nbyte) ;