7 lines
124 B
C
7 lines
124 B
C
|
#include <stdio.h>
|
||
|
|
||
|
int fgetpos(FILE *restrict stream, fpos_t *restrict pos) {
|
||
|
*pos = stream->position;
|
||
|
return 0;
|
||
|
}
|