Add write syscall and print api over that