Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ftello64.c « stdio « mingwex « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 97a388cd621c870fd4bfa863f0d544faa5eca2b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>

off64_t __cdecl
ftello64 (FILE * stream)
{
  fpos_t pos;
  if (fgetpos(stream, &pos))
    return  -1LL;
  else
   return ((off64_t) pos);
}