}
bool
-create (const char *file)
+create (const char *file, unsigned initial_size)
{
- return syscall (SYS_create, file);
+ return syscall (SYS_create, file, initial_size);
}
bool
return syscall (SYS_open, file);
}
+int
+filesize (int fd)
+{
+ return syscall (SYS_filesize, fd);
+}
+
int
read (int fd, void *buffer, unsigned size)
{