minix/lib/libsys/sys_stime.c
Lionel Sambuc 9d1ed02a04 Message type for SYS_STIME
Change-Id: Ic4401e736bb66960e2ea4b30f5e1946dd93fd76e
2014-07-28 17:05:48 +02:00

12 lines
204 B
C

#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);
}