diff options
author | Anton L. Šijanec <anton@sijanec.eu> | 2020-05-05 19:32:35 +0200 |
---|---|---|
committer | Anton L. Šijanec <anton@sijanec.eu> | 2020-05-05 19:32:35 +0200 |
commit | 0e10e00f82fd7f727ee1bc227f20f35472f74b0f (patch) | |
tree | a4849580fff3278a67badc85aa2e5927a1d26d27 /src/tape.c | |
parent | readme modification at 1 o'clock in the night (diff) | |
download | bverbose-0e10e00f82fd7f727ee1bc227f20f35472f74b0f.tar bverbose-0e10e00f82fd7f727ee1bc227f20f35472f74b0f.tar.gz bverbose-0e10e00f82fd7f727ee1bc227f20f35472f74b0f.tar.bz2 bverbose-0e10e00f82fd7f727ee1bc227f20f35472f74b0f.tar.lz bverbose-0e10e00f82fd7f727ee1bc227f20f35472f74b0f.tar.xz bverbose-0e10e00f82fd7f727ee1bc227f20f35472f74b0f.tar.zst bverbose-0e10e00f82fd7f727ee1bc227f20f35472f74b0f.zip |
Diffstat (limited to 'src/tape.c')
-rw-r--r-- | src/tape.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,6 @@ #include <randstring.c> #include <bvrcommands.c> #include <bvrvar.c> - int bvr_inline_command_processor(FILE * page_source_file, FILE * output_file, char copy_buffer[]) { FILE * temp_output_file = output_file; int what_to_return = SUCCESS; @@ -92,6 +91,7 @@ int bvr_inline_command_processor(FILE * page_source_file, FILE * output_file, ch copy_buffer[(ftell(page_source_file)% COPY_BUFFER_SIZE)] = fgetc(page_source_file); // remove closing command tag character return what_to_return; } + int bvr_compose_stream(FILE * page_source_file, FILE * temp_output_file) { char copy_buffer[COPY_BUFFER_SIZE]; for(int i = 0; i < sizeof(copy_buffer); i++) { // da garbage vrednosti ne bodo slučajno ukazi! |