mirror of
https://github.com/vivier/EMILE.git
synced 2024-11-14 22:04:43 +00:00
16 lines
245 B
C
16 lines
245 B
C
/*
|
|
*
|
|
* (c) 2005 Laurent Vivier <Laurent@lvivier.info>
|
|
*
|
|
*/
|
|
|
|
#include "libstream.h"
|
|
|
|
int stream_fstat(stream_t *stream, struct stream_stat *buf)
|
|
{
|
|
if (stream->fs.fstat == NULL)
|
|
return -1;
|
|
|
|
return stream->fs.fstat(stream->fs.file, buf);
|
|
}
|