aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-01-31 03:26:19 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-01-31 03:26:19 +0100
commitfb7ee36485d61a3fdbcac8d85fd032201df4e581 (patch)
tree230892dfcff0570920fb6eca234006e4b9a1a7c2 /main.c
parent60b4d251e80c3e835e48edeb6b0a553b3b8a2ff8 (diff)
downloadft_printf_test-master.tar.gz
ft_printf_test-master.tar.bz2
ft_printf_test-master.zip
Fixing compilation on linuxHEADmaster
Diffstat (limited to 'main.c')
-rw-r--r--main.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/main.c b/main.c
index 9781707..0777617 100644
--- a/main.c
+++ b/main.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/06 18:13:45 by cacharle #+# #+# */
-/* Updated: 2020/09/29 16:05:37 by cacharle ### ########.fr */
+/* Updated: 2021/01/31 03:21:14 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -14,6 +14,23 @@
#include "header.h"
#include "tests/tests.h"
+int pid;
+int pid2;
+bool signaled;
+bool origin_signaled = false;
+bool user_signaled = false;
+int origin_ret;
+int user_ret;
+char *origin_buf;
+char *user_buf;
+
+struct timeval timeout;
+fd_set input_set;
+int timeout_pipe[2];
+int fd_read_num;
+
+char fd_buf[10];
+
int main(int argc, char **argv)
{
timeout.tv_sec = 1;