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