ref: 3a079f24c514f9783a7dd15e85a02eae4c25e695
dir: /src/libmach/objpos.c/
#include <stdio.h>
#include <scc/mach.h>
#include "libmach.h"
int
objpos(Obj *obj, FILE *fp, long pos)
{
	if (fsetpos(fp, &obj->pos))
		return 0;
	if (fseek(fp, pos, SEEK_CUR) < 0)
		return 0;
	return 1;
}