mailing list of musl libc
 help / color / mirror / code / Atom feed
50813d2c50eeabac931539e3b72aa97a412fb31e blob 202 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
#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;
}

weak_alias(fgetpos, fgetpos64);
debug log:

solving 50813d2c ...
found 50813d2c 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).