git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update for HEAD-2003091401
[reactos.git]
/
lib
/
msvcrt
/
stdio
/
fgetpos.c
diff --git
a/lib/msvcrt/stdio/fgetpos.c
b/lib/msvcrt/stdio/fgetpos.c
index
82c4bf5
..
b4b6124
100644
(file)
--- a/
lib/msvcrt/stdio/fgetpos.c
+++ b/
lib/msvcrt/stdio/fgetpos.c
@@
-2,6
+2,9
@@
#include <msvcrt/stdio.h>
#include <msvcrt/errno.h>
+/*
+ * @implemented
+ */
int fgetpos(FILE *stream, fpos_t *pos)
{
if (stream && pos)
@@
-9,6
+12,6
@@
int fgetpos(FILE *stream, fpos_t *pos)
*pos = (fpos_t)ftell(stream);
return 0;
}
- //
errno = EFAULT
;
+ //
__set_errno ( EFAULT )
;
return 1;
}