ref: 2ca3934809cc51fed6a386eb13f67f08fd89fdf2 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; }