shithub: riscv

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