added syscall inline functions