mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
15 lines
229 B
C
15 lines
229 B
C
/*
|
|
*
|
|
* (c) 2008 Laurent Vivier <Laurent@lvivier.info>
|
|
*
|
|
*/
|
|
|
|
#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;
|
|
}
|