reactos/reactos/lib/crtdll/stdio/fsetpos.c
Boudewijn Dekker 01f4ff78c5 Various changes to crtdll, added some files to math and float
directory.

svn path=/trunk/; revision=281
1999-03-07 13:37:38 +00:00

15 lines
264 B
C

/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include <stdio.h>
#include <errno.h>
int
fsetpos(FILE *stream, fpos_t *pos)
{
if (stream && pos)
{
fseek(stream, (long)(*pos), SEEK_SET);
return 0;
}
//errno = EFAULT;
return 1;
}