Implement getargs syscall