aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/ds/ds-fs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/fs/ds/ds-fs.cpp')
-rw-r--r--backends/fs/ds/ds-fs.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/backends/fs/ds/ds-fs.cpp b/backends/fs/ds/ds-fs.cpp
index d482109fdb..d0686f6414 100644
--- a/backends/fs/ds/ds-fs.cpp
+++ b/backends/fs/ds/ds-fs.cpp
@@ -677,9 +677,10 @@ bool std_feof(FILE* handle) {
return handle->pos >= handle->size;
}
-void std_fflush(FILE* handle) {
+int std_fflush(FILE* handle) {
//FIXME: not implemented?
// consolePrintf("fflush ");
+ return 0;
}
char* std_fgets(char* str, int size, FILE* file) {
@@ -748,6 +749,12 @@ int std_fseek(FILE* handle, long int offset, int whence) {
return 0;
}
+int std_ferror(FILE* handle) {
+ //FIXME: not implemented?
+// consolePrintf("ferror ");
+ return 0;
+}
+
void std_clearerr(FILE* handle) {
//FIXME: not implemented?
// consolePrintf("clearerr ");
@@ -810,8 +817,4 @@ void std_cwd(char* dir) {
}
}
-int std_ferror(FILE* handle) {
- return 0;
-}
-
} // namespace DS