1#include <stdio.h>23#include <scc/mach.h>45#include "libmach.h"67int8objpos(Obj *obj, FILE *fp, long pos)9{10 if (fseek(fp, obj->pos, SEEK_SET) == EOF)11 return 0;12 if (fseek(fp, pos, SEEK_CUR) < 0)13 return 0;14 return 1;15}
A fork of https://git.simple-cc.org/scc/ for Qute
git clone https://git.8pit.net/scc.git
1#include <stdio.h>23#include <scc/mach.h>45#include "libmach.h"67int8objpos(Obj *obj, FILE *fp, long pos)9{10 if (fseek(fp, obj->pos, SEEK_SET) == EOF)11 return 0;12 if (fseek(fp, pos, SEEK_CUR) < 0)13 return 0;14 return 1;15}