fsetpos.c 165 B

123456789101112
  1. /*
  2. * fsetpos.c - set the position in the file
  3. */
  4. /* $Id$ */
  5. #include <stdio.h>
  6. int
  7. fsetpos(FILE *stream, fpos_t *pos)
  8. {
  9. return fseek(stream, *pos, SEEK_SET);
  10. }