}
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_write, fd, buffer, size);
}
+void
+seek (int fd, unsigned position)
+{
+ syscall (SYS_seek, fd, position);
+}
+
+unsigned
+tell (int fd)
+{
+ return syscall (SYS_tell, fd);
+}
+
void
close (int fd)
{