mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-14 17:59:28 +08:00
12 lines
160 B
C
12 lines
160 B
C
|
#include <stdio.h>
|
||
|
|
||
|
off64_t __cdecl
|
||
|
ftello64 (FILE * stream)
|
||
|
{
|
||
|
fpos_t pos;
|
||
|
if (fgetpos(stream, &pos))
|
||
|
return -1LL;
|
||
|
else
|
||
|
return ((off64_t) pos);
|
||
|
}
|