Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4973 right-hear 1
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
#include 
3
#include 
4
 
5
int
6
fsetpos(FILE *stream, const fpos_t *pos)
7
{
8
  if (stream && pos)
9
  {
10
    fseek(stream, (long)(*pos), SEEK_SET);
11
    return 0;
12
  }
13
  errno = EFAULT;
14
  return 1;
15
}