syscall skeleton code