diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-11-02 04:21:43 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-11-02 05:08:52 +0100 |
| commit | de0a7f5d17807506f177b5dc90a6d9ccdb679435 (patch) | |
| tree | 5fd93e471219070754b5cfff6c497eb7ff9c3325 /helper.c | |
| parent | 29387bf2bcc964a572a4bb267b13e685ca20d643 (diff) | |
| download | ft_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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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> |
