ref: 466cf20d3524b8e42edc333a6d2df2a01e99a95b dir: /sys/src/ape/lib/ap/stdio/fgetpos.c/
/* * pANS stdio -- fgetpos */ #include "iolib.h" int fgetpos(FILE *f, fpos_t *pos){ *pos=ftell(f); return *pos==-1?-1:0; }