7 #include "devices/disk.h"
8 #include "filesys/off_t.h"
17 bool file_open (struct file *, disk_sector_t);
18 void file_close (struct file *);
19 off_t file_read (struct file *, void *, off_t);
20 off_t file_read_at (struct file *, void *, off_t size, off_t start);
21 off_t file_write (struct file *, const void *, off_t);
22 off_t file_write_at (struct file *, const void *, off_t size, off_t start);
23 off_t file_length (struct file *);
24 void file_seek (struct file *, off_t);
25 off_t file_tell (struct file *);
27 #endif /* filesys/file.h */