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