summaryrefslogtreecommitdiffstats
path: root/src/tape.c
diff options
context:
space:
mode:
authorAnton L. Šijanec <anton@sijanec.eu>2020-05-05 19:32:35 +0200
committerAnton L. Šijanec <anton@sijanec.eu>2020-05-05 19:32:35 +0200
commit0e10e00f82fd7f727ee1bc227f20f35472f74b0f (patch)
treea4849580fff3278a67badc85aa2e5927a1d26d27 /src/tape.c
parentreadme modification at 1 o'clock in the night (diff)
downloadbverbose-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tape.c b/src/tape.c
index 5c574fb..1b1598d 100644
--- a/src/tape.c
+++ b/src/tape.c
@@ -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!