I am trying to set the system time. I am using clock_settime and I am
passing CLOCK_REALTIME as the clock_id. I get EINVAL as the return value and
errno says “No such process”.
Is this is the correct way of setting the system time? If so, what am I
doing wrong? If not, what is?
Any help is always appreciated.