blob: 521af102f95e57c233841521f83a7d770a480e54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#if 0
#include <stdio.h>
/** get the file position indicator **/
long int ftell(FILE *stream)
{
(void)stream;
/* TODO */
/*
RETURN_SUCCESS(the current file position);
RETURN_FAILURE(LITERAL(-1L));
*/
return -1L;
}
/***
obtains the current value of the file position indicitor of ARGUMENT(stream).
For binary streams, the indicator is the current byte position.
***/
/*
UNSPECIFIED(The meaning of the file position indicator for text streams)
STDC(1)
*/
#endif
|