ref: 7d06d1d348ce9fb9dc585d81f146e12193be85e4
dir: /src/libmach/readobj.c/
#include <stdio.h> #include <scc/mach.h> #include "libmach.h" int readobj(Obj *obj, FILE *fp) { long off; if ((off = ftell(fp)) == EOF) return -1; obj->pos = off; return (*obj->ops->read)(obj, fp); }