X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/blobdiff_plain/662a735afec44a089d332b36749e3efacacaa92a..e0701bfb3e9047a565191d1e582f7f5d97a79f5f:/csrc/pf_io.c diff --git a/csrc/pf_io.c b/csrc/pf_io.c index 819dc9f..343a02d 100644 --- a/csrc/pf_io.c +++ b/csrc/pf_io.c @@ -215,11 +215,11 @@ cell_t sdCloseFile( FileStream * Stream ) return 0; } -FileStream *sdDeleteFile( const char *FileName ) +cell_t sdDeleteFile( const char *FileName ) { UNIMPLEMENTED("sdDeleteFile"); TOUCH(FileName); - return NULL; + return -1; } 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; } + +ThrowCode sdResizeFile( FileStream * File, ucell_t SizeLo, ucell_t SizeHi ) +{ + UNIMPLEMENTED("sdResizeFile"); + TOUCH(File); + TOUCH(SizeLo); + TOUCH(SizeHi); + return THROW_RESIZE_FILE; +} + #endif