shithub: riscv

ref: 0f50c54b5ec2c8d2ca681021deaedc0cffdf7f1a
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);
}