shithub: riscv

ref: f2716ab22742ecccafea28948e03ddd71f419829
dir: /sys/src/ape/lib/ap/stdio/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);
}