git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
94b03b748436de9d2f93a71fc6dc8b3bbcafb8da
[reactos.git]
/
lib
/
crtdll
/
stdio
/
fgetpos.c
1
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
#include <msvcrt/stdio.h>
3
#include <msvcrt/errno.h>
4
5
/*
6
* @implemented
7
*/
8
int fgetpos(FILE *stream, fpos_t *pos)
9
{
10
if (stream && pos)
11
{
12
*pos = (fpos_t)ftell(stream);
13
return 0;
14
}
15
//errno = EFAULT;
16
return 1;
17
}