projects
/
pforth
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement REQUIRE (Forth 2012)
[pforth]
/
csrc
/
pf_io.c
diff --git
a/csrc/pf_io.c
b/csrc/pf_io.c
index
819dc9f
..
343a02d
100644
(file)
--- a/
csrc/pf_io.c
+++ b/
csrc/pf_io.c
@@
-215,11
+215,11
@@
cell_t sdCloseFile( FileStream * Stream )
return 0;
}
return 0;
}
-
FileStream *
sdDeleteFile( const char *FileName )
+
cell_t
sdDeleteFile( const char *FileName )
{
UNIMPLEMENTED("sdDeleteFile");
TOUCH(FileName);
{
UNIMPLEMENTED("sdDeleteFile");
TOUCH(FileName);
- return
NULL
;
+ return
-1
;
}
cell_t sdRenameFile( const char *OldName, const char *NewName )
}
cell_t sdRenameFile( const char *OldName, const char *NewName )
@@
-229,5
+229,15
@@
cell_t sdRenameFile( const char *OldName, const char *NewName )
TOUCH(NewName);
return -1;
}
TOUCH(NewName);
return -1;
}
+
+ThrowCode sdResizeFile( FileStream * File, ucell_t SizeLo, ucell_t SizeHi )
+{
+ UNIMPLEMENTED("sdResizeFile");
+ TOUCH(File);
+ TOUCH(SizeLo);
+ TOUCH(SizeHi);
+ return THROW_RESIZE_FILE;
+}
+
#endif
#endif