KnSetSystemTime()
KnSetSystemTime()
This function is declared in the coresrv/time/time_api.h
file.
Retcode KnSetSystemTime(RtlTimeSpec *time);
This function lets you set the system time.
The time
parameter must contain the POSIX time in RtlTimeSpec
format.
It is not recommended to call the KnSetSystemTime()
function in the interrupt handler thread.
Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.