/* old_io.c (emx+gcc) -- Copyright (c) 1996 by Eberhard Mattes */

#include <stdio.h>

typedef long fpos_t_09b;

int fgetpos_09b (FILE *stream, fpos_t_09b *pos)
{
  if ((*pos = ftell (stream)) == (long)EOF)
    return EOF;
  else
    return 0;
}

int fsetpos_09b (FILE *stream, const fpos_t_09b *pos)
{
  return fseek (stream, *pos, SEEK_SET);
}
