Go to the previous, next section.
int stime(time_t *t);
t: [in] the new time.
Sets the time and date of the system. t is measured in seconds since 00:00:00 GMT January 1, 1970. The calling task must have superuser privileges for the call to succeed.
On success zero is returned. On error -1 is returned and errno
is
set to EPERM
because the calling task did not have superuser
privileges.
Go to the previous, next section.