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