X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/blobdiff_plain/6f3de3962bb26f4e1be714dfefc78de0fc16b376..0b1e24898c41afa1f07854c295881b23aa2faea6:/csrc/pf_io.c diff --git a/csrc/pf_io.c b/csrc/pf_io.c index 643178b..3b48d0a 100644 --- a/csrc/pf_io.c +++ b/csrc/pf_io.c @@ -215,19 +215,27 @@ 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; } -int sdRenameFile( const char *OldName, const char *NewName ) +cell_t sdRenameFile( const char *OldName, const char *NewName ) { UNIMPLEMENTED("sdRenameFile"); TOUCH(OldName); TOUCH(NewName); return -1; } + +ThrowCode sdResizeFile( FileStream * File, uint64_t NewSize ) +{ + UNIMPLEMENTED("sdResizeFile"); + TOUCH(NewSize); + return THROW_RESIZE_FILE; +} + #endif