shithub: riscv

ref: 3568e27ec8774a212564c8d2bf6b3d9a19d4d571
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);
}