feat: (iso9660) directory read support
[lunaix-os.git] / lunaix-os / kernel / fs / iso9660 / file.c
1 #include <lunaix/fs.h>
2 #include <lunaix/fs/iso9660.h>
3
4 int
5 iso9660_open(struct v_inode* this, struct v_file* file)
6 {
7     // TODO
8     return 0;
9 }
10
11 int
12 iso9660_close(struct v_file* file)
13 {
14     // TODO
15     return 0;
16 }
17
18 int
19 iso9660_read(struct v_inode* inode, void* buffer, size_t len, size_t fpos)
20 {
21     // TODO
22     return 0;
23 }
24
25 int
26 iso9660_write(struct v_inode* inode, void* buffer, size_t len, size_t fpos)
27 {
28     // TODO
29     return EROFS;
30 }
31
32 int
33 iso9660_seek(struct v_inode* inode, size_t offset)
34 {
35     // TODO
36     return 0;
37 }