aboutsummaryrefslogtreecommitdiff
path: root/a.tmp
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-11-01 17:21:52 +0100
committerCharles <sircharlesaze@gmail.com>2019-11-01 17:23:57 +0100
commit762ff2fcaf45d6b94fb580e168baf3f01ebd61e1 (patch)
tree89f02b4319104e4cc1c612286b859cbe59304aa0 /a.tmp
parent573d059fc002343f280945a6a58482c7e018566c (diff)
downloadft_printf_test-762ff2fcaf45d6b94fb580e168baf3f01ebd61e1.tar.gz
ft_printf_test-762ff2fcaf45d6b94fb580e168baf3f01ebd61e1.tar.bz2
ft_printf_test-762ff2fcaf45d6b94fb580e168baf3f01ebd61e1.zip
Added README.md and .gitignore
Diffstat (limited to 'a.tmp')
-rw-r--r--a.tmp31
1 files changed, 0 insertions, 31 deletions
diff --git a/a.tmp b/a.tmp
deleted file mode 100644
index ae0e529..0000000
--- a/a.tmp
+++ /dev/null
@@ -1,31 +0,0 @@
-do {
- capture_stdout();
- do {
- if ((pid = fork()) < 0)
- exit(1);
- if (pid == 0) {
- do {
- origin_ret = printf("%d", 10);
- origin_buf = strdup(capture_stdout_get_buf());
- } while(0);
- exit(0);
- }
- wait(&pid);
- signaled = (((*(int *)&(pid)) & 0177) != 0177 && ((*(int *)&(pid)) & 0177) != 0);
- } while(0);;
- origin_signaled = signaled;
- do {
- if ((pid = fork()) < 0)
- exit(1);
- if (pid == 0) {
- do {
- user_ret = ft_printf("%d", 10);
- user_buf = strdup(capture_stdout_get_buf());
- } while(0);
- exit(0);
- } wait(&pid);
- signaled = (((*(int *)&(pid)) & 0177) != 0177 && ((*(int *)&(pid)) & 0177) != 0);
- } while(0);;
- capture_stdout_destroy();
- user_signaled = signaled;
-} while (0);;