X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/blobdiff_plain/82b409b0854d22efe9bbf8b2e7c2d003ab06e2e3..6f3de3962bb26f4e1be714dfefc78de0fc16b376:/csrc/pf_io.h diff --git a/csrc/pf_io.h b/csrc/pf_io.h index 8af1667..7cf4310 100644 --- a/csrc/pf_io.h +++ b/csrc/pf_io.h @@ -85,6 +85,7 @@ void ioTerm( void ); cell_t sdReadFile( void *ptr, cell_t Size, int32_t nItems, FileStream * Stream ); cell_t sdWriteFile( void *ptr, cell_t Size, int32_t nItems, FileStream * Stream ); cell_t sdSeekFile( FileStream * Stream, off_t Position, int32_t Mode ); + cell_t sdRenameFile( const char *OldName, const char *NewName ); off_t sdTellFile( FileStream * Stream ); cell_t sdCloseFile( FileStream * Stream ); cell_t sdInputChar( FileStream *stream ); @@ -127,6 +128,7 @@ void ioTerm( void ); #define sdTellFile ftello #endif #define sdCloseFile fclose + #define sdRenameFile rename #define sdInputChar fgetc #define PF_STDIN ((FileStream *) stdin)