392f7323cf58fd3649b2855c472e4f23b80ab568 blob 169 bytes (raw)
1
2
3
4
5
6
7
8
9
| | #include "stdio_impl.h"
int fgetpos(FILE *restrict f, fpos_t *restrict pos)
{
off_t off = __ftello(f);
if (off < 0) return -1;
*(long long *)pos = off;
return 0;
}
|
debug log:
solving 392f7323 ...
found 392f7323 in https://git.vuxu.org/mirror/musl/
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).