A couple comment changes.
[Rockbox-MoB.git] / helpers.c
blobe50cbb614b82e6bd922989504a79b9f34f64e7b9
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <sys/types.h>
4 #include <sys/stat.h>
5 #include <unistd.h>
7 #include "helpers.h"
9 off_t filesize(int fd)
11 struct stat status;
12 fstat(fd, &status);
13 return status.st_size;