EMILE/libext2/ext2_fstat.c
Laurent Vivier 9bd9755dbb Update email address
Signed-off-by: Laurent Vivier <Laurent@Vivier.EU>
2013-09-05 14:45:27 +02:00

15 lines
226 B
C

/*
*
* (c) 2008 Laurent Vivier <Laurent@Vivier.EU>
*
*/
#include "libext2.h"
#include "ext2.h"
int ext2_fstat(stream_FILE *file, struct stream_stat *buf)
{
buf->st_size = ((ext2_FILE*)file)->inode->i_size;
return 0;
}