summaryrefslogtreecommitdiff
path: root/fs/sandbox
diff options
context:
space:
mode:
Diffstat (limited to 'fs/sandbox')
-rw-r--r--fs/sandbox/sandboxfs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/sandbox/sandboxfs.c b/fs/sandbox/sandboxfs.c
index 8507978..ba6402c 100644
--- a/fs/sandbox/sandboxfs.c
+++ b/fs/sandbox/sandboxfs.c
@@ -80,6 +80,11 @@ int sandbox_fs_exists(const char *filename)
return sz >= 0;
}
+int sandbox_fs_size(const char *filename)
+{
+ return os_get_filesize(filename);
+}
+
void sandbox_fs_close(void)
{
}