minix3/lib/libsys/sys_stime.c

13 lines
204 B
C
Raw Permalink Normal View History

2020-02-21 00:59:27 +05:30
#include "syslib.h"
int sys_stime(boottime)
time_t boottime; /* New boottime */
{
message m;
int r;
m.m_lsys_krn_sys_stime.boot_time = boottime;
r = _kernel_call(SYS_STIME, &m);
return(r);
}