summaryrefslogtreecommitdiff
path: root/fs/sandbox/sandboxfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/sandbox/sandboxfs.c')
-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 85079788c9..ba6402c81c 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)
{
}