shithub: riscv

ref: 5016ac0c63c3b4db1dcdace0c6136b0ac88abeea
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);
}