Implemented the interface for system call.