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 fgetpos(FILE *stream, fpos_t *pos) |
|
|
6 |
{ |
|
|
7 |
if (stream && pos) |
|
|
8 |
{ |
|
|
9 |
*pos = (fpos_t)ftell(stream); |
|
|
10 |
return 0; |
|
|
11 |
} |
|
|
12 |
errno = EFAULT; |
|
|
13 |
return 1; |
|
|
14 |
} |