mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-21 18:30:20 +00:00
9bd9755dbb
Signed-off-by: Laurent Vivier <Laurent@Vivier.EU>
15 lines
226 B
C
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;
|
|
}
|