git: 9front

ref: 43f2d5e7e0b8ca8d24e15fb4ff566827e5a5ae5b
dir: /sys/src/libstdio/fsetpos.c/

View raw version
/*
 * pANS stdio -- fsetpos
 */
#include "iolib.h"
int fsetpos(FILE *f, const fpos_t *pos){
	return fseek(f, *pos, SEEK_SET);
}