added syscalls in libprog