EDIT: just make next() function void and it works.
EDIT2: still no fortune :(
$ ./c4 hello.c [1] 33920 segmentation fault ./c4 hello.c
sizeof(int) == sizeof(void*)
➜ c4 git:(master) ✗ clang -m32 c4.c ... ➜ c4 git:(master) ✗ ./a.out hello.c hello, world exit(0) cycle = 9
EDIT: just make next() function void and it works.
EDIT2: still no fortune :(