version 1.1, 2005/02/21 07:24:47
|
version 1.3, 2005/03/11 07:38:58
|
|
|
unsigned int tvfs_read(int h, void *buf, unsigned int len); | unsigned int tvfs_read(int h, void *buf, unsigned int len); |
unsigned int tvfs_write(int h, void *buf, unsigned int len); | unsigned int tvfs_write(int h, void *buf, unsigned int len); |
int tvfs_close(int h); | int tvfs_close(int h); |
long tvfs_lseek(int h, long whither, int whence); |
long tvfs_lseek(int h, long whence, int whither); |
| |
/* Create given file with given contents, return inode number or -1 on fail */ | /* Create given file with given contents, return inode number or -1 on fail */ |
int tvfs_create(const char *fname, const char *buf, int len); | int tvfs_create(const char *fname, const char *buf, int len); |
|
|
/* Compare given file with given contents, return 0 on equal, else nonzero */ | /* Compare given file with given contents, return 0 on equal, else nonzero */ |
int tvfs_compare(const char *fname, const char *buf, int len); | int tvfs_compare(const char *fname, const char *buf, int len); |
| |
|
void tvfs_free(); |
#endif | #endif |