We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 674b3f1 commit ebed9caCopy full SHA for ebed9ca
software/include/base/stdio.h
@@ -31,6 +31,18 @@ typedef int dev_t;
31
#define EOF -1
32
#endif
33
34
+#ifndef SEEK_SET
35
+#define SEEK_SET 0
36
+#endif
37
+
38
+#ifndef SEEK_CUR
39
+#define SEEK_CUR 1
40
41
42
+#ifndef SEEK_END
43
+#define SEEK_END 2
44
45
46
typedef int FILE;
47
48
extern FILE *stdin;
@@ -51,4 +63,8 @@ int ferror(FILE *stream);
51
63
int feof(FILE *stream);
52
64
int fclose(FILE *fp);
53
65
66
+int fseek(FILE *stream, long offset, int whence);
67
+long ftell(FILE *stream);
68
69
54
70
#endif /* __STDIO_H */
0 commit comments