Add stdin support to maktaba#syscall