aboutsummaryrefslogtreecommitdiff
path: root/helper.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-11-02 04:21:43 +0100
committerCharles <sircharlesaze@gmail.com>2019-11-02 05:08:52 +0100
commitde0a7f5d17807506f177b5dc90a6d9ccdb679435 (patch)
tree5fd93e471219070754b5cfff6c497eb7ff9c3325 /helper.c
parent29387bf2bcc964a572a4bb267b13e685ca20d643 (diff)
downloadft_printf_test-de0a7f5d17807506f177b5dc90a6d9ccdb679435.tar.gz
ft_printf_test-de0a7f5d17807506f177b5dc90a6d9ccdb679435.tar.bz2
ft_printf_test-de0a7f5d17807506f177b5dc90a6d9ccdb679435.zip
Moved tests in tests/, improved prettier with arguments
Diffstat (limited to 'helper.c')
-rw-r--r--helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/helper.c b/helper.c
index 4b2a7ec..3e265bf 100644
--- a/helper.c
+++ b/helper.c
@@ -2,7 +2,7 @@
#include <unistd.h>
#include "header.h"
-/* #define BUF_SIZE (1 << 10) */
+#define BUF_SIZE (1 << 10)
int pipefd[2];
int saved_stdout = -1;
@@ -34,6 +34,7 @@ void test_tear_down(void)
close(pipefd[0]);
close(pipefd[1]);
}
+ fflush(stdout);
}
#include <fcntl.h>