modify memset interface.