minix/minix/kernel/system/do_stime.c

20 lines
522 B
C
Raw Normal View History

/* The kernel call implemented in this file:
* m_type: SYS_STIME
*
* The parameters for this kernel call are:
* m_lsys_krn_sys_stime.boot_time
*/
2010-04-02 00:22:33 +02:00
#include "kernel/system.h"
#include <minix/endpoint.h>
/*===========================================================================*
* do_stime *
*===========================================================================*/
2012-03-25 20:25:53 +02:00
int do_stime(struct proc * caller, message * m_ptr)
{
set_boottime(m_ptr->m_lsys_krn_sys_stime.boot_time);
return(OK);
}