LEOFileInstructionsGeneric
IntroductionGeneric implementation of file I/O instructions. Should work on all ANSI C systems. FunctionsLEOCopyFileInstructionvoid LEOCopyFileInstruction( LEOContext *inContext ) DiscussionPop two strings off the stack, the source path and destination path, and copy the given file to the given destination. (LEO_COPY_FILE_INSTR) LEOWriteToFileInstructionvoid LEOWriteToFileInstruction( LEOContext *inContext ) DiscussionPop a file path and string off the stack and write the string to the file at the given path. (WRITE_TO_FILE_INSTR) |